summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmouse-settings8
1 files 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
-