mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Merge branch 'patch-1' of https://github.com/ssnailed/voidrice into ssnailed-patch-1
This commit is contained in:
commit
9bf90a1b72
@ -2,10 +2,9 @@
|
|||||||
|
|
||||||
# Rerun the remaps script whenever a new input device is added.
|
# Rerun the remaps script whenever a new input device is added.
|
||||||
|
|
||||||
trap "rm -f /tmp/udev_pipe; exit" HUP INT QUIT ILL TRAP BUS TERM
|
|
||||||
mkfifo -m 600 /tmp/udev_pipe
|
|
||||||
udevadm monitor -u -t seat -s input -s usb >>/tmp/udev_pipe &
|
|
||||||
while :; do
|
while :; do
|
||||||
grep -q "add" /tmp/udev_pipe && grep -q " bind" /tmp/udev_pipe
|
udevadm monitor -u -t seat -s input -s usb | grep --line-buffer -m1 -P '[^un]bind'
|
||||||
|
sleep 1
|
||||||
remaps us:dvorak
|
remaps us:dvorak
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user