update to keyboard switching scripts
This commit is contained in:
parent
96a95a2d98
commit
b11a2d4a6a
@ -21,4 +21,6 @@ else
|
||||
esac
|
||||
fi
|
||||
|
||||
notify-send -u normal -r 161616 "kbswitcher" "Keyboard layout set to $layout."
|
||||
|
||||
setxkbmap -layout "$layout" -option ctrl:nocaps
|
||||
|
||||
@ -2,9 +2,6 @@
|
||||
|
||||
##
|
||||
# Switches to the given keyboard (argument) and sets
|
||||
# xmodmap to $2 so that everything works as expected.
|
||||
##
|
||||
|
||||
setxkbmap "$1"
|
||||
|
||||
xmodmap -pke "$2" > /dev/null 2>&1
|
||||
setxkbmap "$1" -option ctrl:nocaps
|
||||
|
||||
Reference in New Issue
Block a user