From 144b154ac1386390fb6699d37c1304f226086ae3 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 24 Dec 2023 00:35:41 +0100 Subject: Fix layouthandler layout --- .local/bin/layouthandler | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local/bin') 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 -- cgit v1.2.3-70-g09d2