turn off caps lock if on in remaps script

This commit is contained in:
Luke Smith 2020-12-25 09:50:21 -05:00
parent 9085120787
commit f47ab40c5f
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -9,3 +9,5 @@ setxkbmap -option caps:super
killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape'
# Map the menu button to right super as well.
xmodmap -e 'keycode 135 = Super_R'
# Turn off the caps lock if on since there is no longer a key for it.
xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock