From 96b4d5c6261f6690e70fdb7955a3ee374c8ca67b Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 4 Oct 2023 09:58:17 +0200 Subject: up --- .local/bin/kb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to '.local/bin/kb') 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 -- cgit v1.2.3