diff options
| author | Blista Kanjo | 2022-11-04 17:43:14 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2022-11-04 17:43:14 -0400 |
| commit | ab21758440fd9825f6dc665b237ff067e6455856 (patch) | |
| tree | e79f7b4e64079c14d2d1b61b7023830f7e38af0e /.config | |
| parent | 7c079232e09dc2b7cd1869e99f02400d77682ea9 (diff) | |
fix: workaround for input-remapper unreliability when switching between devices
Diffstat (limited to '.config')
| -rwxr-xr-x | .config/awesome/autorun.sh | 1 | ||||
| -rwxr-xr-x | .config/awesome/keymapper.sh | 3 | ||||
| -rwxr-xr-x | .config/awesome/xinput-daemon.sh | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/.config/awesome/autorun.sh b/.config/awesome/autorun.sh index f9ea291..a04311e 100755 --- a/.config/awesome/autorun.sh +++ b/.config/awesome/autorun.sh @@ -35,7 +35,6 @@ run /usr/bin/gnome-keyring-daemon --start --components=secrets run /usr/bin/gnome-keyring-daemon --start --components=ssh run xfce4-power-manager run dunst -run ~/.config/awesome/keymapper.sh run ~/.config/awesome/xinput-daemon.sh run ibus-daemon -drxR run /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 diff --git a/.config/awesome/keymapper.sh b/.config/awesome/keymapper.sh deleted file mode 100755 index 877907d..0000000 --- a/.config/awesome/keymapper.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -sleep 1 && input-remapper-control --command stop-all && sleep 1 && input-remapper-control --command autoload 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 |
