From 42bcdcdfe7090588331f200b1a11c7c3d4dd1cda Mon Sep 17 00:00:00 2001 From: pks Date: Wed, 17 Mar 2021 08:43:59 +0100 Subject: mouse-settings: fix --- mouse-settings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3