diff --git a/.local/bin/daemons/remapd b/.local/bin/daemons/remapd index 1b47500cb..709edf68e 100755 --- a/.local/bin/daemons/remapd +++ b/.local/bin/daemons/remapd @@ -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) - remaps -qd + watch -gn1 eval 'xinput --list | grep keyboard' + remaps -qd done