summaryrefslogtreecommitdiffstats
path: root/.local/bin/remaps
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2023-02-09 11:52:55 -0500
committerLuke Smith <luke@lukesmith.xyz>2023-02-09 11:52:55 -0500
commitc5f4c6c9f4e0f5c74b0475fba1dfec7635318d9d (patch)
tree3091958c734cb8d92119c41429542e7cf97ac8d5 /.local/bin/remaps
parenta4784f9faa9a94d7411d14da113f58e54c8f82e2 (diff)
parent88477d849770561382157667e8d804e3ed8addfc (diff)
downloadeibhear-c5f4c6c9f4e0f5c74b0475fba1dfec7635318d9d.tar.gz
eibhear-c5f4c6c9f4e0f5c74b0475fba1dfec7635318d9d.tar.zst
eibhear-c5f4c6c9f4e0f5c74b0475fba1dfec7635318d9d.zip
Merge branch 'ssnailed-patch-1'
Diffstat (limited to '.local/bin/remaps')
-rwxr-xr-x.local/bin/remaps2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/remaps b/.local/bin/remaps
index c95ac84..6d7d54e 100755
--- a/.local/bin/remaps
+++ b/.local/bin/remaps
@@ -8,4 +8,4 @@ setxkbmap -option caps:super,altwin:menu_win
# When caps lock is pressed only once, treat it as escape.
killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape'
# Turn off caps lock if on since there is no longer a key for it.
-xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock
+xset -q | grep -q "Caps Lock:\s*on" && xdotool key Caps_Lock