diff --git a/etc/udev/rules.d/91-yubi-key.rules b/etc/udev/rules.d/91-yubi-key.rules new file mode 100644 index 0000000..1328d71 --- /dev/null +++ b/etc/udev/rules.d/91-yubi-key.rules @@ -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" \ No newline at end of file