diff options
author | pks <pks@pks.rocks> | 2021-03-17 08:43:59 +0100 |
---|---|---|
committer | pks <pks@pks.rocks> | 2021-03-17 08:43:59 +0100 |
commit | 42bcdcdfe7090588331f200b1a11c7c3d4dd1cda (patch) | |
tree | 95765441da765e5b07a959655e7334bdd910d5dd /mouse-settings | |
parent | 91ea972fb2de25b9b1a47bb04c21df96e626e052 (diff) |
mouse-settings: fix
Diffstat (limited to 'mouse-settings')
-rwxr-xr-x | mouse-settings | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mouse-settings b/mouse-settings index 8255630..47014a8 100755 --- a/mouse-settings +++ b/mouse-settings @@ -6,7 +6,7 @@ if [[ $(hostname) == "bogues" ]]; then elif [[ $(hostname) == "james" ]]; then export EXT_POINTER=$(xinput list | grep "QEMU Virtio Mouse" | grep pointer | awk -F'=' '{print $2}' | cut -f 1) # for libinput - if [[ $(xinput list-props $EXT_POINTER | grep libinput) > 0 ]]; then + 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 |