From 21531260a4f0615284b46b91d970d65d91e4174b Mon Sep 17 00:00:00 2001 From: Joe Date: Sat, 6 Jan 2024 12:20:46 +0100 Subject: up --- .local/bin/kb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to '.local/bin/kb') diff --git a/.local/bin/kb b/.local/bin/kb index 43e4cbb..6391df1 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)" = "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 +if [ "$(hostname -s)" = "motherqwe" ]; 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