From 824482e0315019cd25fcb800e322b97635b2dec2 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 31 Jan 2025 17:46:18 +0000 Subject: [x] Change hercules touchpad name --- home/.local/bin/input-setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'home') diff --git a/home/.local/bin/input-setup b/home/.local/bin/input-setup index 483468b..b552871 100755 --- a/home/.local/bin/input-setup +++ b/home/.local/bin/input-setup @@ -39,8 +39,8 @@ setlayout "Dierya DK61 Keyboard" us setlayout "ZSA Technology Labs ErgoDox EZ" us if [ "$(uname -n)" = "hercules" ]; then - xinput set-prop "ETPS/2 Elantech Touchpad" "libinput Tapping Enabled" 1 - xinput set-prop "ETPS/2 Elantech Touchpad" "libinput Natural Scrolling Enabled" 1 + xinput set-prop "ELAN1205:00 04F3:30E9 Touchpad" "libinput Tapping Enabled" 1 + xinput set-prop "ELAN1205:00 04F3:30E9 Touchpad" "libinput Natural Scrolling Enabled" 1 ids=$(xinput --list | sed -ne '/Virtual core pointer/{:a' -e 'n;p;ba' -e '}' | grep "Kingsis Peripherals ZOWIE Gaming mouse" | sed -n 's/.*id=\([0-9]\+\).*/\1/p') for i in $ids; do xinput --set-prop "$i" 'libinput Accel Profile Enabled' 0, 1 -- cgit v1.2.3-70-g09d2