diff options
Diffstat (limited to 'waybar/config')
| -rw-r--r-- | waybar/config | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/waybar/config b/waybar/config index d36331c..b85f779 100644 --- a/waybar/config +++ b/waybar/config @@ -2,7 +2,7 @@ "height": 30, "spacing": 4, "modules-left": ["sway/workspaces", "sway/mode"], - "modules-right": ["tray", "custom/lock", "custom/spotify", "idle_inhibitor", "network", "cpu", "memory", "backlight", "pulseaudio", "battery", "clock"], + "modules-right": ["tray", "custom/lock", "custom/scratchpad_indicator", "network", "cpu", "memory", "backlight", "pulseaudio", "battery", "clock"], "custom/lock": { "format": " ", "on-click": "swaylock" @@ -31,6 +31,13 @@ "tray": { "spacing": 10 }, + "custom/scratchpad_indicator": { + "interval": 3, + "exec": "swaymsg -t get_tree | ~/.config/waybar/scripts/scratchpads.py", + "format": " {} ", + "on-click": "swaymsg 'scratchpad show'", + "on-click-right": "swaymsg 'move scratchpad'" + }, "clock": { "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "format": "{:%d/%m/%Y %H:%M:%S}", @@ -73,10 +80,10 @@ "pulseaudio": { "format": "{icon} {volume}% {format_source}", "format-bluetooth": " {volume}% {format_source}", - "format-bluetooth-muted": " 婢 {format_source}", - "format-muted": "婢 {format_source}", + "format-bluetooth-muted": " 0% {format_source}", + "format-muted": "婢0% {format_source}", "format-source": " {volume}%", - "format-source-muted": " ", + "format-source-muted": " 0%", "format-icons": { "headphone": " ", "hands-free": "", @@ -91,10 +98,10 @@ "scroll-step": 0.5 }, "idle_inhibitor": { - "format": "{icon}", + "format": "{icon} ", "format-icons": { - "activated": "", - "deactivated": "" + "activated": " ", + "deactivated": " " } } } |
