Files
omarchy/bin/omarchy-fido2-setup

9 lines
164 B
Plaintext
Raw Normal View History

2025-07-14 01:10:12 -07:00
#!/bin/bash
2025-07-15 02:34:18 -07:00
yay -S --noconfirm --needed libfido2 pam-u2f
tokens=$(fido2-token -L)
if [ -z "$tokens" ]; then
echo -e "\e[31m\nNo fido2 device detected.\e[0m"
fi