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

6 lines
131 B
Bash
Executable File

#!/bin/bash
while :; do
grep -qP -m1 '[^un]bind.+\/[^:]+\(usb\)' <(udevadm monitor -u -t seat -s input -s usb)
remaps
done