summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-12-24 00:35:41 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-12-24 00:35:41 +0100
commit144b154ac1386390fb6699d37c1304f226086ae3 (patch)
tree83eb8d36f8bd5064f30386a4e776f2a9e2bb114f
parent3aa557e57673a88ff13a4735d1d159ad17478618 (diff)
Fix layouthandler layout
-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