From 15c769d5045755ff510d67115d919de8988a9c4c Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 18 Dec 2023 22:20:11 +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