summaryrefslogtreecommitdiffstats
path: root/.local/bin/remapd
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/remapd')
-rw-r--r--.local/bin/remapd5
1 files changed, 2 insertions, 3 deletions
diff --git a/.local/bin/remapd b/.local/bin/remapd
index 4ce32b3..cf67428 100644
--- a/.local/bin/remapd
+++ b/.local/bin/remapd
@@ -1,10 +1,9 @@
#!/bin/sh
-# Rerun the remaps script whenever a new input device is added. Run by the
-# xprofile by default.
+# Rerun the remaps script whenever a new input device is added.
while : ; do
+ remaps
dmesg -W -f kern | grep "input:" -q
sleep 1
- remaps
done