diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-29 03:13:31 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-29 03:13:31 -0400 |
commit | 243e280b5fd9527891a58d6578f2e659302908c7 (patch) | |
tree | 1443d96e6824c8e04355c2f1fb2c562a9afe2132 /bin/hush/setup-inputs | |
parent | db8dd3e6140e66db46f309bff9054ba137eb797a (diff) | |
download | conf-243e280b5fd9527891a58d6578f2e659302908c7.tar.gz conf-243e280b5fd9527891a58d6578f2e659302908c7.zip |
just use hostnames for this stuff
i don't really want another level of indirection
Diffstat (limited to 'bin/hush/setup-inputs')
-rwxr-xr-x | bin/hush/setup-inputs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/hush/setup-inputs b/bin/hush/setup-inputs new file mode 100755 index 0000000..6aaa19f --- /dev/null +++ b/bin/hush/setup-inputs @@ -0,0 +1,18 @@ +#!/bin/sh + +# key bindings +setxkbmap -option ctrl:nocaps +setxkbmap -option compose:caps +xmodmap $HOME/.Xmodmap +"$(dirname "$0")"/numkeys on + +# trackpad settings +xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Accel Speed" 0.4 +xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1 + +# restart services that depend on keyboard reconfigurations +if pgrep readproctitle > /dev/null; then + svre xcape + svre kuake + svre xbindkeys +fi |