1
0
Fork 0
dotfiles/.local/bin/daemons/remapd

6 lines
138 B
Plaintext
Raw Normal View History

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-02-07 17:19:53 +01:00
remaps us:dvorak
2023-02-06 22:22:50 +01:00
done