From fc3305f1bf42a8ca267d2aa3b597c73850d9a8c4 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 12 Aug 2020 08:22:24 +0200 Subject: mouse-settings: james VM --- mouse-settings | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mouse-settings b/mouse-settings index 98b9827..a34214d 100755 --- a/mouse-settings +++ b/mouse-settings @@ -1,10 +1,10 @@ #!/usr/bin/env zsh -# for external TEX keyboard -#export EXT_POINTER=$(xinput list | grep "USB-HID Keyboard" | grep pointer | awk -F'=' '{print $2}' | cut -f 1) - if [[ $(hostname) == "bogues" ]]; then export EXT_POINTER=$(xinput list | grep "TPPS/2 IBM TrackPoint" | grep pointer | awk -F'=' '{print $2}' | cut -f 1) xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "libinput Accel Speed (" | awk -F '[()]' '{print $2}') 0.1 +elif [[ $(hostname) == "james" ]]; then + export EXT_POINTER=$(xinput list | grep "QEMU Virtio Mouse" | grep pointer | awk -F'=' '{print $2}' | cut -f 1) + xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "libinput Accel Speed (" | awk -F '[()]' '{print $2}') -0.95 + xset m 3/2 4 fi - -- cgit v1.2.3