Merge d9a66e1c1dd60b29514c36bf57d580ab2e21953c into 07952026753f1bbeaf5b6c4eb5414a9c51536041

This commit is contained in:
snailed 2023-12-13 14:32:49 +01:00 committed by GitHub
commit e0921ef1c1
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.
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'
done