tune mouse adjustment
This commit is contained in:
parent
e821caef15
commit
dfde2802eb
1 changed files with 6 additions and 7 deletions
13
tune-mouse
13
tune-mouse
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
xinput set-prop "$(cat ~/.touchpad-name)" "libinput Natural Scrolling Enabled" 1
|
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
|
if [ $# -eq 1 ]; then
|
||||||
display=$1
|
display=$1
|
||||||
else
|
else
|
||||||
|
@ -20,7 +15,7 @@ fi
|
||||||
|
|
||||||
# as on bridge/t490s
|
# as on bridge/t490s
|
||||||
if xinput list | grep -q "Elan TrackPoint"; then
|
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
|
fi
|
||||||
|
|
||||||
# Not needed if using regular libinput
|
# Not needed if using regular libinput
|
||||||
|
@ -39,7 +34,11 @@ if xinput list | grep -q Bamboo; then
|
||||||
|
|
||||||
fi
|
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
|
# xinput set-prop "Wacom Bamboo 16FG 4x5 Finger pad" "Device Enabled" 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue