From 89a596a50ec61b8ebd6040b06a7cab994afd1b3a Mon Sep 17 00:00:00 2001 From: joott Date: Tue, 29 Jul 2025 19:08:17 -0400 Subject: full rat --- waybar/config | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'waybar/config') diff --git a/waybar/config b/waybar/config index 8da3977..9c89b95 100644 --- a/waybar/config +++ b/waybar/config @@ -3,9 +3,8 @@ "spacing": 4, // Gaps between modules (4px) // Choose the order of the modules - "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/media"], - "modules-center": ["sway/window"], - "modules-right": ["mpd", "idle_inhibitor", "backlight", "pulseaudio", "network", "temperature", "memory", "battery", "clock", "tray"], + "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "sway/window"], + "modules-right": ["idle_inhibitor", "backlight", "pulseaudio", "custom/rat", "network", "temperature", "memory", "battery", "clock", "tray"], // Modules configuration "sway/workspaces": { @@ -25,6 +24,13 @@ "tooltip": true, "tooltip-format": "{app}: {title}" }, + "custom/rat": { + "format": "󱌧 {text}", + "return-type": "json", + "exec": "$HOME/.config/waybar/rat.sh 2> /dev/null", + "on-click": "kitty --app-id ration bash -i ration", + "signal": 1, + }, "idle_inhibitor": { "format": "{icon}", "format-icons": { -- cgit v1.3