1
0
Fork 0

improve remapd detection

This commit is contained in:
Luca Bilke 2023-12-13 14:22:27 +01:00
parent 8fbb1cad0c
commit cf49e9f48d
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
#!/bin/sh
while :; do
grep -qP -m1 '[^un]bind.+\/[^:]+\(usb\)' <(udevadm monitor -u -t seat -s input -s usb)
watch -gn1 eval 'xinput --list | grep keyboard'
remaps -qd
done