summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/remapd2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/remapd b/.local/bin/remapd
index f2edb4f..2d87eae 100755
--- a/.local/bin/remapd
+++ b/.local/bin/remapd
@@ -2,7 +2,7 @@
# Rerun the remaps script whenever a new input device is added.
-trap "rm -f /tmp/udev_pipe" HUP INT QUIT ILL TRAP BUS TERM
+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