summaryrefslogtreecommitdiffstats
path: root/.local/bin/kb
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/kb')
-rwxr-xr-x.local/bin/kb12
1 files changed, 7 insertions, 5 deletions
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