voidrice/.local/bin/remapd
2023-02-09 17:11:16 +01:00

10 lines
211 B
Bash
Executable file

#!/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