From 7dd4ecbae50e37a9a86aa76068d6f5fd6a97996d Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Fri, 21 Apr 2023 19:15:55 +0100 Subject: Whatever I changed on my steam deck --- waybar/config | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'waybar') diff --git a/waybar/config b/waybar/config index 7e7b530..2c1ef87 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/spotify", "idle_inhibitor", "network", "cpu", "memory", "backlight", "pulseaudio", "battery", "clock"], + "modules-right": ["tray", "idle_inhibitor", "custom/scratchpad_indicator", "network", "cpu", "memory", "backlight", "pulseaudio", "battery", "clock"], "custom/spotify": { "exec": "/usr/bin/python3 ~/.config/waybar/scripts/mediaplayer.py --player spotify", "format": "{}", @@ -27,6 +27,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": "{:%Y %B}\n{calendar}", "format": "{:%d/%m/%Y %H:%M:%S}", @@ -69,10 +76,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": "", @@ -87,10 +94,10 @@ "scroll-step": 0.5 }, "idle_inhibitor": { - "format": "{icon}", + "format": "{icon} ", "format-icons": { - "activated": "", - "deactivated": "" + "activated": " ", + "deactivated": " " } } } -- cgit v1.2.3-70-g09d2