summaryrefslogtreecommitdiff
path: root/mouse
diff options
context:
space:
mode:
Diffstat (limited to 'mouse')
-rwxr-xr-xmouse13
1 files changed, 0 insertions, 13 deletions
diff --git a/mouse b/mouse
deleted file mode 100755
index 8065c2f..0000000
--- a/mouse
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env zsh
-
-export EXT_POINTER=$(xinput list | grep "USB-HID Keyboard" | grep pointer | awk -F'=' '{print $2}' | cut -f 1)
-
-if [[ $(hostname) == "bryant" ]]; then
- xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "Device Accel Constant Deceleration" | awk -F '[()]' '{print $2}') 2.5
- xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "Device Accel Adaptive Deceleration" | awk -F '[()]' '{print $2}') 1.0
- xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "Device Accel Velocity Scaling" | awk -F '[()]' '{print $2}') 5.0
-elif [[ $(hostname) == "bogues" ]]; then
- exec xinput set-prop $EXT_POINTER 268 2.5
- exec xinput set-prop $EXT_POINTER 269 1.25
-fi
-