From dfde2802eb79c030333adda3e6e82a93d9a14fbb Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 1 Aug 2020 20:32:16 +0200 Subject: [PATCH] tune mouse adjustment --- tune-mouse | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tune-mouse b/tune-mouse index f1b4f3c..c07f972 100755 --- a/tune-mouse +++ b/tune-mouse @@ -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