aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index ea128e9..1440c7f 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -40,7 +40,7 @@
"format": "<span color='#202020' bgcolor='#98971a' >  </span> {}",
"return-type": "text",
"interval": 1,
- "exec": "mmsg -k | awk '{print toupper($3); exit}'",
+ "exec": "mmsg get keyboardlayout | jq -r '(.layout)' | awk '{print toupper($2)}' | cut -d '(' -f2 | cut -d ')' -f1",
"tooltip" : false
},