diff options
| author | Kyle Javier | 2021-09-21 20:23:22 -0400 |
|---|---|---|
| committer | Kyle Javier | 2021-09-21 20:23:22 -0400 |
| commit | 1fa25f9c4e98bc6b51f9b75b68bdb38b14b01beb (patch) | |
| tree | db6c41d3d486f62d2a6a70c4132d0ef65c84a79a /awesome/xinput.sh | |
| parent | 2ebc19b31534d4a12b65b02bd539775c36870965 (diff) | |
created a daemon to handle mouse unplug/replug
Diffstat (limited to 'awesome/xinput.sh')
| -rwxr-xr-x | awesome/xinput.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/awesome/xinput.sh b/awesome/xinput.sh index 1886f04..5e32700 100755 --- a/awesome/xinput.sh +++ b/awesome/xinput.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash -xinput set-prop "Logitech USB Trackball" "libinput Natural Scrolling Enabled" 1 -xinput set-prop "Logitech USB Trackball" "libinput Accel Speed" 0.90000 +sleep 2 +xinput set-prop pointer:"Logitech USB Trackball" "libinput Natural Scrolling Enabled" 0 +xinput set-prop pointer:"Logitech USB Trackball" "libinput Accel Speed" 0.90000 |
