diff options
Diffstat (limited to 'bin/setup-inputs')
-rwxr-xr-x | bin/setup-inputs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bin/setup-inputs b/bin/setup-inputs new file mode 100755 index 0000000..aab71a6 --- /dev/null +++ b/bin/setup-inputs @@ -0,0 +1,22 @@ +#!/bin/sh + +# key bindings +setxkbmap -option ctrl:nocaps +setxkbmap -option compose:caps +xmodmap $HOME/.Xmodmap +$HOME/.bin/numkeys on + +# disable trackpoint +xinput set-prop "TPPS/2 IBM TrackPoint" "Device Enabled" 0 + +# tap to click on touchpad +synclient TapButton1=1 +synclient TapButton2=2 +synclient TapButton3=3 + +# restart services that depend on keyboard reconfigurations +if pgrep readproctitle > /dev/null; then + svre xcape + svre kuake + svre xbindkeys +fi |