voidrice/.local/bin/remapd

11 lines
191 B
Text
Raw Normal View History

#!/bin/sh
# Rerun the remaps script whenever a new input device is added. Run by the
# xprofile by default.
while : ; do
dmesg -W -f kern | grep "input:" -q
sleep 1
remaps
done