9 lines
157 B
Bash
9 lines
157 B
Bash
#!/bin/sh
|
|
|
|
# Rerun the remaps script whenever a new input device is added.
|
|
|
|
while : ; do
|
|
remaps
|
|
dmesg -W -f kern | grep "input:" -q
|
|
sleep 1
|
|
done
|