diff options
author | Patrick Simianer <pks@pks.rocks> | 2018-10-13 09:27:08 +0200 |
---|---|---|
committer | Patrick Simianer <pks@pks.rocks> | 2018-10-13 09:27:08 +0200 |
commit | e5e4e13ecd94a2da32dd63f3d9ba23874e08747f (patch) | |
tree | fec0423ede01a28b1c4fcf5e4c90120d97b0503e /mouse-settings | |
parent | 081b22319924e46107b3e3d03a29afb705f9914a (diff) |
use libinput
Diffstat (limited to 'mouse-settings')
-rwxr-xr-x | mouse-settings | 4 |
1 files changed, 1 insertions, 3 deletions
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 |