summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-24 21:06:17 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-24 21:06:17 +0100
commit7af94490c15c680144bb83b7e9f1ba667306d391 (patch)
treef7bdc9cbc5ee031393650076fbda38fa546423ca /.local/bin
parentKeys update (diff)
downloaddotfiles-bsd-7af94490c15c680144bb83b7e9f1ba667306d391.tar.gz
dotfiles-bsd-7af94490c15c680144bb83b7e9f1ba667306d391.tar.bz2
dotfiles-bsd-7af94490c15c680144bb83b7e9f1ba667306d391.tar.xz
dotfiles-bsd-7af94490c15c680144bb83b7e9f1ba667306d391.tar.zst
dotfiles-bsd-7af94490c15c680144bb83b7e9f1ba667306d391.zip
Finally key fixes
Diffstat (limited to '.local/bin')
-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'