dotfiles

Torpy's handcrafted dootfiles.
Log | Files | Refs | README

remapd (191B)


      1 #!/bin/bash
      2 
      3 # Rerun the remaps script whenever a new input device is added.
      4 
      5 while :; do
      6 	remaps
      7 	grep -qP -m1 '[^un]bind.+\/[^:]+\(usb\)' <(udevadm monitor -u -t seat -s input -s usb)
      8 done