Merge branch 'patch-1' of https://github.com/ssnailed/voidrice into ssnailed-patch-1

This commit is contained in:
Luke Smith 2023-02-09 09:22:27 -05:00
commit 0567be0efe
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -2,8 +2,10 @@
# Rerun the remaps script whenever a new input device is added. # Rerun the remaps script whenever a new input device is added.
while : ; do trap "rm -f /tmp/udev_pipe" HUP INT QUIT ILL TRAP BUS TERM
remaps mkfifo -m 600 /tmp/udev_pipe
dmesg -W -f kern | grep "input:" -q udevadm monitor -u -t seat -s input -s usb >>/tmp/udev_pipe &
sleep 1 while :; do
grep -q "add" /tmp/udev_pipe && grep -q " bind" /tmp/udev_pipe
remaps us:dvorak
done done