diff --git a/.config/waybar/.helix/languages.toml b/.config/waybar/.helix/languages.toml index 62173ebe..36e34ecc 100644 --- a/.config/waybar/.helix/languages.toml +++ b/.config/waybar/.helix/languages.toml @@ -1,6 +1,3 @@ -[[language]] +[language] name = "jsonc" -file-types = [ - "jsonc", - {glob="*config*"} -] +file-types = ["jsonc", { glob = "config" }, { glob = "config##*" }] diff --git a/.config/waybar/config##hostname.dbox b/.config/waybar/config##hostname.dbox index 8f684ea5..8ffe9a61 100644 --- a/.config/waybar/config##hostname.dbox +++ b/.config/waybar/config##hostname.dbox @@ -6,7 +6,6 @@ "position": "top", "modules-left": [ "custom/colcount" - // "niri/workspaces" ], "modules-center": [ "niri/window" @@ -24,70 +23,8 @@ "restart-interval": "never", "format": "{} " }, - "custom/mail": { - "exec": "~/.config/mail/mail-indicator.sh", - "restart-interval": "never", - "format": "{}" - }, - "custom/recorder": { - "exec": "~/dev/utils/wayland-utils/recorder/recorder.py", - "return-type": "json", - "restart-interval": "never", - "on-click": "~/dev/utils/wayland-utils/recorder/recorder.sh screen", - "on-click-right": "~/dev/utils/wayland-utils/recorder/recorder.sh region", - "format": " {} " - }, - "custom/delim": { - "format": "|" - }, - "cava": { - "cava_config": "$XDG_CONFIG_HOME/cava/cava.conf", - "format-icons": [ - "▁", - "▂", - "▃", - "▄", - "▅", - "▆", - "▇", - "█" - ], - "actions": { - "on-click-right": "mode" - } - }, - "niri/workspaces": { - "format": "{icon}", - "format-icons": { - "music": "󰎇", - "active": "", - "default": "" - } - }, - "battery": { - "format": "bat {capacity}%" - }, "clock": { "format-alt": "{:%a, %d. %b %H:%M}" - }, - "pulseaudio": { - "scroll-step": 5, - "max-volume": 150, - "format": "vol {volume}%", - "format-muted": "vol mut", - "nospacing": 1, - "on-click": "pavucontrol", - "tooltip": false - }, - "cpu": { - "interval": 10, - "format": "cpu {usage}%", - "max-length": 10 - }, - "memory": { - "interval": 30, - "format": "mem {percentage}%", - "max-length": 10 } }, // bottom bar @@ -146,22 +83,11 @@ "on-click-right": "mode" } }, - "niri/workspaces": { - "format": "{icon}", - "format-icons": { - "music": "󰎇", - "active": "", - "default": "" - } - }, "battery": { "format": "{capacity}% 󰁹", "format-charging": "{capacity}% ", "format-plugged": "{capacity}% " }, - "clock": { - "format-alt": "{:%a, %d. %b %H:%M}" - }, "pulseaudio": { "scroll-step": 5, "max-volume": 150, diff --git a/.config/waybar/scripts/test.fish b/.config/waybar/scripts/test.fish new file mode 100755 index 00000000..97130ac6 --- /dev/null +++ b/.config/waybar/scripts/test.fish @@ -0,0 +1,3 @@ +#!/usr/bin/env fish + +echo \ No newline at end of file diff --git a/.config/waybar/scripts/two.fish b/.config/waybar/scripts/two.fish new file mode 100755 index 00000000..97130ac6 --- /dev/null +++ b/.config/waybar/scripts/two.fish @@ -0,0 +1,3 @@ +#!/usr/bin/env fish + +echo \ No newline at end of file