tune mouse adjustment

This commit is contained in:
Nico Schottelius 2020-08-01 20:32:16 +02:00
parent e821caef15
commit dfde2802eb
1 changed files with 6 additions and 7 deletions

View File

@ -2,11 +2,6 @@
xinput set-prop "$(cat ~/.touchpad-name)" "libinput Natural Scrolling Enabled" 1
# Only continue if there is wacom stuff
if ! xinput list | grep -i wacom -q; then
exit 0
fi
if [ $# -eq 1 ]; then
display=$1
else
@ -20,7 +15,7 @@ fi
# as on bridge/t490s
if xinput list | grep -q "Elan TrackPoint"; then
xinput set-prop "Elan TrackPoint" "libinput Accel Speed" -0.3
xinput set-prop "Elan TrackPoint" "libinput Accel Speed" -0.5
fi
# Not needed if using regular libinput
@ -39,7 +34,11 @@ if xinput list | grep -q Bamboo; then
fi
exit 0
# Only continue if there is wacom stuff
if ! xinput list | grep -i wacom -q; then
exit 0
fi
# xinput set-prop "Wacom Bamboo 16FG 4x5 Finger pad" "Device Enabled" 0