diff options
author | Joe <rrbo@proton.me> | 2023-10-04 09:58:17 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-10-04 09:58:17 +0200 |
commit | 96b4d5c6261f6690e70fdb7955a3ee374c8ca67b (patch) | |
tree | 217ef5e13902a3adb25b6cb64e3b771c67642e0e /.local/bin/kb | |
parent | up (diff) | |
download | dotfiles-bsd-96b4d5c6261f6690e70fdb7955a3ee374c8ca67b.tar.gz dotfiles-bsd-96b4d5c6261f6690e70fdb7955a3ee374c8ca67b.tar.bz2 dotfiles-bsd-96b4d5c6261f6690e70fdb7955a3ee374c8ca67b.tar.xz dotfiles-bsd-96b4d5c6261f6690e70fdb7955a3ee374c8ca67b.tar.zst dotfiles-bsd-96b4d5c6261f6690e70fdb7955a3ee374c8ca67b.zip |
up
Diffstat (limited to '.local/bin/kb')
-rwxr-xr-x | .local/bin/kb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/.local/bin/kb b/.local/bin/kb index e33b7ec..b77fd89 100755 --- a/.local/bin/kb +++ b/.local/bin/kb @@ -47,11 +47,13 @@ xset r rate 200 150 setxkbmap -option setxkbmap -layout us -variant intl -#setxkbmap -option ctrl:swapcaps -#setxkbmap -option caps:none -#xmodmap -e 'keycode 9 = Tab' -#xmodmap -e 'keycode 23 = Escape' -#xmodmap -e 'keycode 37 =' +if [ "$(hostname -s)" = "po-rbo" ]; then + setxkbmap -option ctrl:swapcaps + setxkbmap -option caps:none + xmodmap -e 'keycode 9 = Tab' + xmodmap -e 'keycode 23 = Escape' + xmodmap -e 'keycode 37 =' +fi notify-send -u low -t 2000 'kb' ' Swapped Esc/Tab' # vim: filetype=sh |