Merge 1e35ff5c7d1f4f14f23fcbd667a7117b7b70b852 into 7a96fb100cf385e05c211937b509d2bf166299e6

This commit is contained in:
snailed 2023-12-30 10:47:12 -07:00 committed by GitHub
commit e01a189d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/sh
# Rerun the remaps script whenever a new input device is added. # Rerun the remaps script whenever a new input device is added.
while :; do while :; do
remaps 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 done