mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Merge 1e35ff5c7d1f4f14f23fcbd667a7117b7b70b852 into 7a96fb100cf385e05c211937b509d2bf166299e6
This commit is contained in:
commit
e01a189d26
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# Rerun the remaps script whenever a new input device is added.
|
||||
|
||||
while :; do
|
||||
remaps
|
||||
grep -qP -m1 '[^un]bind.+\/[^:]+\(usb\)' <(udevadm monitor -u -t seat -s input -s usb)
|
||||
watch -gn1 sh -c 'xinput --list | grep keyboard' >/dev/null 2>&1
|
||||
done
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user