summaryrefslogtreecommitdiff
path: root/mouse-settings
diff options
context:
space:
mode:
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