summaryrefslogtreecommitdiff
path: root/mouse-settings
diff options
context:
space:
mode:
authorpks <pks@pks.rocks>2021-03-17 08:43:59 +0100
committerpks <pks@pks.rocks>2021-03-17 08:43:59 +0100
commit42bcdcdfe7090588331f200b1a11c7c3d4dd1cda (patch)
tree95765441da765e5b07a959655e7334bdd910d5dd /mouse-settings
parent91ea972fb2de25b9b1a47bb04c21df96e626e052 (diff)
mouse-settings: fix
Diffstat (limited to 'mouse-settings')
-rwxr-xr-xmouse-settings2
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