mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
9 lines
191 B
Bash
Executable File
9 lines
191 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Rerun the remaps script whenever a new input device is added.
|
|
|
|
while :; do
|
|
remaps
|
|
grep -qP -m1 '[^un]bind.+\/[^:]+\(usb\)' <(udevadm monitor -u -t seat -s input -s usb)
|
|
done
|