2023-02-06 21:15:02 +00:00
|
|
|
#!/bin/sh
|
2023-02-06 23:19:09 +00:00
|
|
|
|
|
|
|
# Rerun the remaps script whenever a new input device is added. Run by the
|
|
|
|
# xprofile by default.
|
|
|
|
|
2023-02-06 21:15:02 +00:00
|
|
|
while : ; do
|
|
|
|
dmesg -W -f kern | grep "input:" -q
|
|
|
|
sleep 1
|
|
|
|
remaps
|
|
|
|
done
|