LukeSmithxyz / voidrice

My dotfiles (deployed by LARBS)
GNU General Public License v3.0
4.26k stars 1.22k forks source link

Improve remapd detection #1381

Closed ssnailed closed 7 months ago

ssnailed commented 8 months ago

Previously remapd would trigger whenever a USB device was attached. This patch changes that to only trigger the script when the output of xinput --list | grep keyboard changes. This has the added bonus of making the script posix compliant.