diff options
author | Justine Smithies <justine@smithies.me.uk> | 2025-08-23 12:57:07 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2025-08-23 12:57:07 +0100 |
commit | 24468ba4a7a1f1b7852cff7195afb718ce984da5 (patch) | |
tree | a17148fcc4c01c0db2b0e775cc7843126c2d7216 /.config/waybar/config | |
parent | a272beaf4c7266db4e7256f026ac46082cc22540 (diff) |
Diffstat (limited to '.config/waybar/config')
-rw-r--r-- | .config/waybar/config | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/waybar/config b/.config/waybar/config index 18b1af6..dce6025 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -15,7 +15,7 @@ "modules-center": ["custom/clock"], "modules-right": [ - //"custom/scratchpad-indicator", + "custom/keyboard-layout", "idle_inhibitor", "custom/brightness", "custom/audio", @@ -36,11 +36,11 @@ "tooltip" : false }, - "custom/scratchpad-indicator": { - "format": "<span color='#202020' bgcolor='#8ec07c' > </span> {}", - "return-type": "json", + "custom/keyboard-layout": { + "format": "<span color='#202020' bgcolor='#98971a' > </span> {}", + "return-type": "text", "interval": 1, - "exec": "~/.local/bin/scratchpad-indicator.sh" + "exec": "mmsg -k | awk '{print toupper($3); exit}'" }, "idle_inhibitor": { |