From 1ce7538197ba844498bc64f92622b3f291714e8a Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 6 Dec 2023 23:43:51 +0100 Subject: up --- .local/bin/kb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to '.local') 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 -- cgit v1.2.3