diff options
| author | Blista Kanjo | 2021-10-17 01:32:28 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2021-10-17 01:32:28 -0400 |
| commit | 3d12db3d785771b9d00446f6eb87d9bd60368968 (patch) | |
| tree | dbd3be055b3717dec877b1fc17e7e13ff67195bb | |
| parent | 9e826ea054ea2afaff254d0030e0bd029ad3bc73 (diff) | |
added new mouse to xinput scripts
| -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 85fa623..14c0b8e 100755 --- a/awesome/xinput-daemon.sh +++ b/awesome/xinput-daemon.sh @@ -2,5 +2,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 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 9c3b08e..09c3439 100755 --- a/awesome/xinput.sh +++ b/awesome/xinput.sh @@ -3,3 +3,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 |
