diff options
| author | Blista Kanjo | 2021-10-17 01:41:06 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2021-10-17 01:41:06 -0400 |
| commit | 1a082de3d3a89c0ddb07fd8967a8c74a6531ad3b (patch) | |
| tree | b37e9fbb5207ae5cc5f9190955c2e045ae1af25e /awesome | |
| parent | 3d12db3d785771b9d00446f6eb87d9bd60368968 (diff) | |
added new mouse to xinput scripts
Diffstat (limited to 'awesome')
| -rwxr-xr-x | awesome/xinput-daemon.sh | 1 | ||||
| -rwxr-xr-x | awesome/xinput.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/awesome/xinput-daemon.sh b/awesome/xinput-daemon.sh index 14c0b8e..83d3368 100755 --- a/awesome/xinput-daemon.sh +++ b/awesome/xinput-daemon.sh @@ -3,5 +3,6 @@ xinput set-prop pointer:"Logitech USB Trackball" "libinput Natural Scrolling Enabled" 1 xinput set-prop pointer:"Logitech USB Trackball" "libinput Accel Speed" 0.90000 xinput set-prop pointer:"SteelSeries SteelSeries Rival 310 eSports Mouse" "libinput Scrolling Pixel Distance" 30 +xinput set-prop pointer:"SteelSeries SteelSeries Rival 310 eSports Mouse" "libinput Accel Speed" 0.300000 while true; do state=$(lsusb) && sleep 2 && [ "$state != $(lsusb)" ] && /home/kylert/.config/awesome/xinput.sh; done diff --git a/awesome/xinput.sh b/awesome/xinput.sh index 09c3439..789bb3a 100755 --- a/awesome/xinput.sh +++ b/awesome/xinput.sh @@ -4,3 +4,4 @@ sleep 2 xinput set-prop pointer:"Logitech USB Trackball" "libinput Natural Scrolling Enabled" 1 xinput set-prop pointer:"Logitech USB Trackball" "libinput Accel Speed" 0.90000 xinput set-prop pointer:"SteelSeries SteelSeries Rival 310 eSports Mouse" "libinput Scrolling Pixel Distance" 30 +xinput set-prop pointer:"SteelSeries SteelSeries Rival 310 eSports Mouse" "libinput Accel Speed" 0.300000 |
