diff options
Diffstat (limited to '.config/waybar')
| -rw-r--r-- | .config/waybar/config.jsonc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 3bf9249..f3a8c0b 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -9,6 +9,7 @@ "sway/workspaces" ], "modules-right": [ + "custom/gsr", "group/tray-group", "group/brightness-group", "network", @@ -157,6 +158,22 @@ "on-click-right": "~/.local/bin/waybar-brightness right_click", "tooltip-format": "HDMI: {}%" }, + "custom/window": { + "exec": "~/.local/bin/waybar-window", + "exec-if": "~/.local/bin/waybar-window", + "format": "<span color='#aaaaaa'>{}</span>", + "return-type": "json", + "max-length": 60, + "tooltip": false, + // titles where special characters are present weren't being shown + // this solves that + "escape": true + }, + "custom/gsr": { + "exec": "~/.local/bin/waybar-record", + "return-type": "json", + "tooltip": false + }, // Tray drawer group "group/tray-group": { "orientation": "horizontal", |
