summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/remaps2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/remaps b/.local/bin/remaps
index ed6ae43..3cb41e4 100755
--- a/.local/bin/remaps
+++ b/.local/bin/remaps
@@ -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