diff options
Diffstat (limited to 'setxkbmap.sh')
-rwxr-xr-x | setxkbmap.sh | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/setxkbmap.sh b/setxkbmap.sh index 7595abf..306d20a 100755 --- a/setxkbmap.sh +++ b/setxkbmap.sh @@ -2,5 +2,18 @@ setxkbmap -layout jr -variant jdvprk -option numpad:mac killall xcape -xcape -e 'Hyper_L=Tab' -t 200 + +# Set tab to hyper, and set hyper to set mod3 +xmodmap <(echo ' + keycode 223 = Tab + keycode 23 = Hyper_L + remove mod4 = Hyper_L + add mod3 = Hyper_L + + keycode 222 = Escape + keycode 66 = Control_L + add Control = Control_L +') + +xcape -e 'Hyper_L=Tab;Control_L=Escape' -t 400 xset r rate 200 100 |