diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2023-02-09 11:51:29 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2023-02-09 11:51:29 -0500 |
| commit | 9bf90a1b7287313ff06eaf8f98cb7070af2e4142 (patch) | |
| tree | 9fa0a5b57f9695b9b9f93c52a6e401177202b1e5 /.local/bin/remapd | |
| parent | 505d86c8483fe4ca45fd0dce381129b112728dac (diff) | |
| parent | 457539c043cc8645eb75e92ff6b0f31182b114d7 (diff) | |
| download | eibhear-9bf90a1b7287313ff06eaf8f98cb7070af2e4142.tar.gz eibhear-9bf90a1b7287313ff06eaf8f98cb7070af2e4142.tar.zst eibhear-9bf90a1b7287313ff06eaf8f98cb7070af2e4142.zip | |
Merge branch 'patch-1' of https://github.com/ssnailed/voidrice into ssnailed-patch-1
Diffstat (limited to '.local/bin/remapd')
| -rwxr-xr-x | .local/bin/remapd | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.local/bin/remapd b/.local/bin/remapd index 2d87eae..14ae239 100755 --- a/.local/bin/remapd +++ b/.local/bin/remapd @@ -2,10 +2,9 @@ # Rerun the remaps script whenever a new input device is added. -trap "rm -f /tmp/udev_pipe; exit" HUP INT QUIT ILL TRAP BUS TERM -mkfifo -m 600 /tmp/udev_pipe -udevadm monitor -u -t seat -s input -s usb >>/tmp/udev_pipe & while :; do - grep -q "add" /tmp/udev_pipe && grep -q " bind" /tmp/udev_pipe + udevadm monitor -u -t seat -s input -s usb | grep --line-buffer -m1 -P '[^un]bind' + sleep 1 remaps us:dvorak done + |
