diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-08-03 20:05:32 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-08-03 20:05:32 -0400 |
commit | 7e542dc66ba1347d0890993b18a08334f38ef808 (patch) | |
tree | 5df0446c1b9b6916eb32f11e9972a73b3f6588e5 /bin | |
parent | bc00ca69ef3d71d06d7eee79f1539ff5d5190af1 (diff) | |
download | conf-7e542dc66ba1347d0890993b18a08334f38ef808.tar.gz conf-7e542dc66ba1347d0890993b18a08334f38ef808.zip |
generalize the touchpad config a bit
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hornet/setup-inputs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/hornet/setup-inputs b/bin/hornet/setup-inputs index e724d5f..572feb1 100755 --- a/bin/hornet/setup-inputs +++ b/bin/hornet/setup-inputs @@ -9,8 +9,9 @@ xmodmap "$HOME"/.Xmodmap "$(dirname "$0")"/numkeys on # trackpad settings -xinput set-prop "ELAN0670:00 04F3:3150 Touchpad" "libinput Accel Speed" 0.4 -xinput set-prop "ELAN0670:00 04F3:3150 Touchpad" "libinput Tapping Enabled" 1 +touchpad="$(xinput list --name-only | grep Touchpad)" +xinput set-prop "$touchpad" "libinput Accel Speed" 0.4 +xinput set-prop "$touchpad" "libinput Tapping Enabled" 1 # needs to happen after xmodmap stuff svre xcape |