aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/xinput-daemon.sh
diff options
context:
space:
mode:
authorBlista Kanjo2022-11-04 17:43:14 -0400
committerBlista Kanjo2022-11-04 17:43:14 -0400
commitab21758440fd9825f6dc665b237ff067e6455856 (patch)
treee79f7b4e64079c14d2d1b61b7023830f7e38af0e /.config/awesome/xinput-daemon.sh
parent7c079232e09dc2b7cd1869e99f02400d77682ea9 (diff)
fix: workaround for input-remapper unreliability when switching between devices
Diffstat (limited to '.config/awesome/xinput-daemon.sh')
-rwxr-xr-x.config/awesome/xinput-daemon.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/awesome/xinput-daemon.sh b/.config/awesome/xinput-daemon.sh
index 959ab72..dfb3544 100755
--- a/.config/awesome/xinput-daemon.sh
+++ b/.config/awesome/xinput-daemon.sh
@@ -4,6 +4,7 @@
apply_settings () {
sleep 2
+ input-remapper-control --command stop-all && input-remapper-control --command autoload
xinput set-prop pointer:"Logitech USB Trackball" "libinput Natural Scrolling Enabled" 1
xinput set-prop pointer:"Logitech USB Trackball" "libinput Accel Speed" 1.000000
xinput set-prop pointer:"SteelSeries SteelSeries Rival 310 eSports Mouse" "libinput Accel Speed" 0.300000