diff options
-rw-r--r-- | .config/waybar/config | 12 | ||||
-rw-r--r-- | .config/waybar/style.css | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/.config/waybar/config b/.config/waybar/config index 16438d6..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": { @@ -63,7 +63,7 @@ "custom/battery": { "format-icons": ["","","","","","","","","",""], - "format": "<span color='#202020' bgcolor='#689d6a' > {icon}{alt} </span> {}%", + "format": "<span color='#202020' bgcolor='#689d6a' > {icon}{alt} </span> {text}%", "return-type": "json", "interval": 1, "exec": "~/.config/waybar/scripts/battery.sh", diff --git a/.config/waybar/style.css b/.config/waybar/style.css index a574200..182a733 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -32,7 +32,7 @@ window#waybar.hidden { #idle_inhibitor, #language, #custom-layout, -#custom-scratchpad-indicator, +#custom-keyboard-layout, #custom-brightness, #custom-memory, #custom-battery, @@ -54,7 +54,7 @@ window#waybar.hidden { #idle_inhibitor, #language, #custom-layout, -#custom-scratchpad-indicator, +#custom-keyboard-layout, #custom-brightness, #custom-memory, #custom-battery, @@ -108,10 +108,10 @@ window#waybar.hidden { } /*================================= */ -/* custom-scratchpad-indicator */ +/* custom-keyboard-layout */ /*==================================*/ -#custom-scratchpad-indicator { - color: #8ec07c; +#custom-keyboard-layout { + color: #98971a; } /* ================================ */ |