summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-02-07 18:07:46 -0500
committerJesse Luehrs <doy@tozt.net>2022-02-07 19:03:15 -0500
commitd70bb7647d322ab904cbd8834d41c94f7f01ecb2 (patch)
treeb45f1f681ce061bf342781d548058cd28787e763
parent5e98edfdb32cca10b2a8efa70c01c1f3b3f30f18 (diff)
downloadconf-d70bb7647d322ab904cbd8834d41c94f7f01ecb2.tar.gz
conf-d70bb7647d322ab904cbd8834d41c94f7f01ecb2.zip
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
-rwxr-xr-xbin/hornet/watch-kbd2
1 files changed, 1 insertions, 1 deletions
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