]> git.wh0rd.org Git - home.git/commitdiff
force disable autorepeat on stupid keys
authorMike Frysinger <vapier@gentoo.org>
Tue, 5 Jan 2010 19:50:25 +0000 (14:50 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:34 +0000 (15:36 -0400)
.kde4/Autostart/xset-rate

index c6c670a0f959a239526bbb6a45c3f455d80d025c..aa3aeb09747ea477b9b9cc0583593d5f47485c40 100755 (executable)
@@ -1,2 +1,16 @@
 #!/bin/bash
+keys="
+       37 #left-ctrl
+       50 #left-shift
+       64 #left-alt
+       66 #left-caps
+       115 #left-win
+       113 #right-alt
+       109 #right-ctrl
+       62 #right-shift
+"
+for x in ${keys} ; do
+       [[ ${x} == "#"* ]] && continue
+       xset -r $x
+done
 exec xset r rate 200