diff options
| author | Blista Kanjo | 2022-09-01 20:03:35 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2022-09-01 20:03:35 -0400 |
| commit | a208eadd1289461bab82dd9554a2316898e7d23d (patch) | |
| tree | dc52940c6271490f2df6bd58f4edf9ec16f7b7df /awesome/xinput-daemon.sh | |
| parent | 77051c67db148b81aadaa562dbbbfff9e5f69bef (diff) | |
refactor: organized the entire repo | feat: added pomodoro aliases inspired by bashbunni
Diffstat (limited to 'awesome/xinput-daemon.sh')
| -rwxr-xr-x | awesome/xinput-daemon.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/awesome/xinput-daemon.sh b/awesome/xinput-daemon.sh deleted file mode 100755 index 959ab72..0000000 --- a/awesome/xinput-daemon.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - - -apply_settings () { - - sleep 2 - 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 - xinput set-prop pointer:"ELECOM ELECOM TrackBall Mouse" "libinput Accel Speed" 0.300000 - xinput set-prop pointer:"Logitech M705" "libinput Accel Speed" 1.000000 - -} - -apply_settings - -while true; do state=$(lsusb) && sleep 2 && [ "$state" != "$(lsusb)" ] && apply_settings; done |
