dot_testing/sh/keyboard

8 lines
157 B
Plaintext
Raw Normal View History

2023-04-10 08:57:35 -05:00
#!/bin/sh
setxkbmap -option caps:super
killall xcape
xcape -e 'Super_L=Escape'
xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock
xset r rate 200 40