2023-02-10 00:21:06 +01:00
|
|
|
#!/bin/bash
|
2023-02-07 17:19:53 +01:00
|
|
|
while :; do
|
2023-02-10 00:21:06 +01:00
|
|
|
grep -qP -m1 '[^un]bind.+\/[^:]+\(usb\)' <(udevadm monitor -u -t seat -s input -s usb)
|
2023-03-17 16:59:59 +01:00
|
|
|
remaps
|
2023-02-06 22:22:50 +01:00
|
|
|
done
|