voidrice/.local/bin/remapd
2023-02-06 18:19:09 -05:00

10 lines
191 B
Bash

#!/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