From d70bb7647d322ab904cbd8834d41c94f7f01ecb2 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 7 Feb 2022 18:07:46 -0500 Subject: fix watch-kbd for new udev mechanisms looks like the keyboard device symlinks are created and then moved into place now, rather than just created directly --- bin/hornet/watch-kbd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hornet/watch-kbd b/bin/hornet/watch-kbd index 2516f6b..a4d504e 100755 --- a/bin/hornet/watch-kbd +++ b/bin/hornet/watch-kbd @@ -4,7 +4,7 @@ set -o pipefail trap 'kill $(jobs -p)' EXIT -inotifywait -mq -e create -e delete --exclude '.*tmp.*' /dev/input/by-id/ | +inotifywait -mq -e create -e delete -e moved_to --exclude '.*tmp.*' /dev/input/by-id/ | while read -r event; do echo "$event" if echo "$event" | grep -q USB_Keyboard; then -- cgit v1.2.3-54-g00ecf