From e5e4e13ecd94a2da32dd63f3d9ba23874e08747f Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 13 Oct 2018 09:27:08 +0200 Subject: use libinput --- mouse-settings | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mouse-settings') diff --git a/mouse-settings b/mouse-settings index 8065c2f..01dcca1 100755 --- a/mouse-settings +++ b/mouse-settings @@ -3,9 +3,7 @@ export EXT_POINTER=$(xinput list | grep "USB-HID Keyboard" | grep pointer | awk -F'=' '{print $2}' | cut -f 1) if [[ $(hostname) == "bryant" ]]; then - xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "Device Accel Constant Deceleration" | awk -F '[()]' '{print $2}') 2.5 - xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "Device Accel Adaptive Deceleration" | awk -F '[()]' '{print $2}') 1.0 - xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "Device Accel Velocity Scaling" | awk -F '[()]' '{print $2}') 5.0 + xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep -P "libinput Accel Speed \(\d+\)" | awk -F '[()]' '{print $2}') -0.75 elif [[ $(hostname) == "bogues" ]]; then exec xinput set-prop $EXT_POINTER 268 2.5 exec xinput set-prop $EXT_POINTER 269 1.25 -- cgit v1.2.3