~kris/dots

srice

ref: 3484c9c181a3320d54e79a445d9591766255a890 srice/.local/bin/remapd -rwxr-xr-x 191 bytes
3484c9c1 — Kris Yotam add vivaldi config (preferences + bookmarks) 7 months ago
                                                                                
1
2
3
4
5
6
7
8
#!/bin/bash

# Rerun the remaps script whenever a new input device is added.

while :; do
	remaps
	grep -qP -m1 '[^un]bind.+\/[^:]+\(usb\)' <(udevadm monitor -u -t seat -s input -s usb)
done