diff options
author | Joe <rbo@gmx.us> | 2023-12-18 22:20:11 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-18 22:20:11 +0100 |
commit | 15c769d5045755ff510d67115d919de8988a9c4c (patch) | |
tree | 918ba6ea42e99985f76667b78e89c8b3e0a42678 /.local/bin/kb | |
parent | up (diff) | |
download | dotfiles-bsd-15c769d5045755ff510d67115d919de8988a9c4c.tar.gz dotfiles-bsd-15c769d5045755ff510d67115d919de8988a9c4c.tar.bz2 dotfiles-bsd-15c769d5045755ff510d67115d919de8988a9c4c.tar.xz dotfiles-bsd-15c769d5045755ff510d67115d919de8988a9c4c.tar.zst dotfiles-bsd-15c769d5045755ff510d67115d919de8988a9c4c.zip |
up
Diffstat (limited to '.local/bin/kb')
-rwxr-xr-x | .local/bin/kb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.local/bin/kb b/.local/bin/kb index 198f2e7..29ba370 100755 --- a/.local/bin/kb +++ b/.local/bin/kb @@ -47,13 +47,13 @@ xset r rate 200 150 setxkbmap -option setxkbmap -layout us -variant intl -#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 +if [ "$(hostname -s)" = "mother" ]; 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 |