diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-12-25 09:50:21 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-12-25 09:50:21 -0500 |
| commit | f47ab40c5ff74b565dd82881a02fd9e569101c3b (patch) | |
| tree | 64bb47d87d3e839c69961bb80ebd80c0e9633f01 /.local/bin/remaps | |
| parent | 9085120787ffb4e561c0bb1e4cece63a735345ee (diff) | |
| download | eibhear-f47ab40c5ff74b565dd82881a02fd9e569101c3b.tar.gz eibhear-f47ab40c5ff74b565dd82881a02fd9e569101c3b.tar.zst eibhear-f47ab40c5ff74b565dd82881a02fd9e569101c3b.zip | |
turn off caps lock if on in remaps script
Diffstat (limited to '.local/bin/remaps')
| -rwxr-xr-x | .local/bin/remaps | 2 |
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 |
