summaryrefslogtreecommitdiffstats
path: root/.local/bin/kb
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/kb')
-rwxr-xr-x.local/bin/kb5
1 files changed, 3 insertions, 2 deletions
diff --git a/.local/bin/kb b/.local/bin/kb
index bf50ec8..137f2a0 100755
--- a/.local/bin/kb
+++ b/.local/bin/kb
@@ -9,12 +9,13 @@ if ! xrandr | grep 'HDMI-1 connected' >/dev/null 2>&1; then
setxkbmap -option ctrl:swapcaps
xmodmap -e 'keycode 9 = Tab'
xmodmap -e 'keycode 23 = Escape'
- xmodmap -e 'keycode 37 = Tab'
+ xmodmap -e 'remove Lock = Caps_Lock'
+ xmodmap -e 'keycode 37 = Escape'
fi
else
xmodmap -e 'keycode 9 = Tab'
xmodmap -e 'keycode 23 = Escape'
- xmodmap -e 'keycode 66 = Tab'
+ xmodmap -e 'keycode 66 = Escape'
fi
notify-send -u low -t 2000 'kb' ' Keyboard set'