diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-24 21:06:17 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-24 21:06:17 +0100 |
commit | 7af94490c15c680144bb83b7e9f1ba667306d391 (patch) | |
tree | f7bdc9cbc5ee031393650076fbda38fa546423ca /.local/bin/kb | |
parent | Keys update (diff) | |
download | dotfiles-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/kb')
-rwxr-xr-x | .local/bin/kb | 5 |
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' |