udev: Add xprofile-udevinput-monitor
[shutils.git] / udev / input / xprofile-udevinput-monitor
1 #!/bin/sh
2
3 set -e
4
5 # For each add-event of input subsystem by udev call ~/.xprofile-keyboard
6 udevadm monitor -u -s input | grep --line-buffered add | while read line; do
7 echo ">> $line";
8 sh ~/.xprofile-udevinput
9 done
10