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-07-14 17:59:32 +02:00
|
|
|
remaps -qd
|
2023-02-06 22:22:50 +01:00
|
|
|
done
|