diff options
Diffstat (limited to 'ar/.local/bin')
| -rwxr-xr-x | ar/.local/bin/remaps | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ar/.local/bin/remaps b/ar/.local/bin/remaps index 7be79ed..1ac05ad 100755 --- a/ar/.local/bin/remaps +++ b/ar/.local/bin/remaps @@ -73,8 +73,8 @@ xinput list | grep 'id=' | while read -r line; do esac } done -# Turn off caps lock if on since there is no longer a key for it. -xset -q | grep -qE "Caps Lock:[[:space:]]+on" && xdotool key Caps_Lock # When left control, caps lock, or Super_L is pressed only once, treat it as escape. killall xcape 2>/dev/null +# Turn off caps lock if on since there is no longer a key for it. +xset -q | grep -qE "Caps Lock:[[:space:]]+on" && xdotool key Caps_Lock xcape -e 'Caps_Lock=Escape;Control_L=Escape' #;Super_L=Escape' |
