summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/kb2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/kb b/.local/bin/kb
index 7762abb..fee1cb9 100755
--- a/.local/bin/kb
+++ b/.local/bin/kb
@@ -6,11 +6,13 @@ setxkbmap -option caps:none
if ! xrandr | grep 'HDMI-1 connected' >/dev/null 2>&1; then
if ! xrandr | grep 'VGA-1 connected' >/dev/null 2>&1; then
echo
+ xmodmap -e 'keycode 9 = Tab'
xmodmap -e 'keycode 23 = Escape'
xmodmap -e 'keycode 37 = Tab'
xmodmap -e 'keycode 66 = Control'
fi
else
+ xmodmap -e 'keycode 9 = Tab'
xmodmap -e 'keycode 23 = Escape'
xmodmap -e 'keycode 66 = Tab'
fi