aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/awesome-xinputD
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/awesome-xinputD')
-rwxr-xr-x.local/bin/awesome-xinputD20
1 files changed, 0 insertions, 20 deletions
diff --git a/.local/bin/awesome-xinputD b/.local/bin/awesome-xinputD
deleted file mode 100755
index 393555a..0000000
--- a/.local/bin/awesome-xinputD
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-apply_settings() {
- sleep 2
- xinput set-prop pointer:"Synaptics TM3276-022" "Device Enabled" 0
- xinput set-prop pointer:"G2Touch Multi-Touch by G2TSP" "Device Enabled" 0
- xinput set-prop pointer:"TPPS/2 IBM TrackPoint" "libinput Scrolling Pixel Distance" 10
- xinput set-prop pointer:"Logitech USB Trackball" "libinput Accel Speed" 1.000000
- xinput set-prop pointer:"Logitech K400 Plus" "libinput Accel Speed" 0.800000
- xinput set-prop pointer:"Logitech K400 Plus" "libinput Natural Scrolling Enabled" 1
- [ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap
-}
-
-apply_settings
-
-while true; do
- state=$(lsusb)
- sleep 2
- [ "$state" != "$(lsusb)" ] && apply_settings
-done