diff options
author | pks <pks@pks.rocks> | 2021-05-16 18:01:39 +0200 |
---|---|---|
committer | pks <pks@pks.rocks> | 2021-05-16 18:01:39 +0200 |
commit | 341d7b2622d26cbfb6c13e536c41c04251aaae3c (patch) | |
tree | 5cf5628afa7d89b334b654ffa17869614a25b2f9 | |
parent | b99cc99e6019d492203b8f08d20384f2769001e0 (diff) |
mouse-setting: fix
-rwxr-xr-x | mouse-settings | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mouse-settings b/mouse-settings index 47014a8..949a7b8 100755 --- a/mouse-settings +++ b/mouse-settings @@ -8,9 +8,7 @@ elif [[ $(hostname) == "james" ]]; then # for libinput if [[ $(xinput list-props $EXT_POINTER | grep libinput) != 0 ]]; then xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "libinput Accel Speed (" | awk -F '[()]' '{print $2}') -0.95 - fi - # for evdev - if [[ $(xinput list-props $EXT_POINTER | grep Evdev) != 0 ]]; then + elif [[ $(xinput list-props $EXT_POINTER | grep Evdev) != 0 ]]; then xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "Device Accel Constant Deceleration (" | awk -F '[()]' '{print $2}') 3.0 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}') 10 |