Create remapd
This script will automatically run remaps when it detects a line in dmesg that contains "input:"
This commit is contained in:
parent
32a896ffdf
commit
53a66c6254
1 changed files with 6 additions and 0 deletions
6
.local/bin/remapd
Normal file
6
.local/bin/remapd
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
while : ; do
|
||||
dmesg -W -f kern | grep "input:" -q
|
||||
sleep 1
|
||||
remaps
|
||||
done
|
Loading…
Reference in a new issue