summaryrefslogtreecommitdiffstats
path: root/.local/bin/remapd
blob: 14ae239fc41438f89aa5b2e554686ba07b8f382e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# Rerun the remaps script whenever a new input device is added.

while :; do
    udevadm monitor -u -t seat -s input -s usb | grep --line-buffer -m1 -P '[^un]bind'
    sleep 1
	remaps us:dvorak
done