summaryrefslogtreecommitdiff
path: root/waybar/config
diff options
context:
space:
mode:
authorjoott <josh@ottmail.me>2025-07-29 19:08:17 -0400
committerjoott <josh@ottmail.me>2025-07-29 19:08:17 -0400
commit89a596a50ec61b8ebd6040b06a7cab994afd1b3a (patch)
tree613e7ed927c2d1f01dcee5103b30a641639044af /waybar/config
parent104194e56a181b0ed34c26f7f41f1a91c089ac27 (diff)
downloaddotfiles-89a596a50ec61b8ebd6040b06a7cab994afd1b3a.tar.gz
dotfiles-89a596a50ec61b8ebd6040b06a7cab994afd1b3a.zip
full rat
Diffstat (limited to 'waybar/config')
-rw-r--r--waybar/config12
1 files changed, 9 insertions, 3 deletions
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": {