summaryrefslogtreecommitdiff
path: root/.local/bin/layouthandler
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/layouthandler')
-rwxr-xr-x.local/bin/layouthandler6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/layouthandler b/.local/bin/layouthandler
index 6002ef4..9b7e27d 100755
--- a/.local/bin/layouthandler
+++ b/.local/bin/layouthandler
@@ -6,12 +6,12 @@ alt_layout="${ALT_KB_LAYOUT?Alternative layout not set!}"
echo "$layout"
case $layout in
-en_US)
+us)
setxkbmap -layout "$alt_layout"
notify-send "Layout Changed." "Keyboard set to $alt_layout."
;;
*)
- setxkbmap -layout en_US
- notify-send "Layout Changed." "Keyboard set to en_US."
+ setxkbmap -layout us
+ notify-send "Layout Changed." "Keyboard set to us."
;;
esac