5 : ${xmodmap_pke:=$(xmodmap -pke)}
6 echo "${xmodmap_pke}" | awk -vkey="$1" '$4 == key { print $2 }'
9 # disable repeat on some keys (randomly, they get turned on?!)
11 Control_{L,R} # Ctrl key
12 Shift_{L,R} # Shift key
14 Super_{L,R} # Windows key
15 Mode_switch # Capslock
17 for x in ${keys[@]} ; do
18 for c in $(keyname_to_keycode $x); do
23 # xset r rate <delay before autorepeat starts> <repeat rate>
24 # in milliseconds keys per sec
25 exec xset r rate 200 40