From 7e542dc66ba1347d0890993b18a08334f38ef808 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 3 Aug 2022 20:05:32 -0400 Subject: generalize the touchpad config a bit --- bin/hornet/setup-inputs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-54-g00ecf