feat(udev): added rule for yubikeys

This commit is contained in:
Toerd@archlinux 2020-04-05 20:48:51 +02:00
parent 1d787b894f
commit 80ae5a81d3

View File

@ -0,0 +1,2 @@
ACTION=="add", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", RUN+="/usr/bin/sudo -u toerd /home/toerd/.dotfiles/yubikey/switch-yubikey.sh"
ACTION=="add", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0405", RUN+="/usr/bin/sudo -u toerd /home/toerd/.dotfiles/yubikey/switch-yubikey.sh"