Add a fingerprint setup script

Follow-up to #54
This commit is contained in:
David Heinemeier Hansson
2025-07-04 15:05:07 -07:00
parent a736c95fdc
commit 985d137d71

15
bin/omarchy-fingerprint-setup Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
yay -S --noconfirm --needed fprint
echo -e "\e[32m\nLet's setup your right index finger as the first fingerprint.\nKeep moving the finger around on sensor until the process completes.\n\e[0m"
sudo fprintd-enroll
echo -e "\e[32m\nNow let's verify that it's working correctly.\e[0m\n"
if fprintd-verify; then
echo -e "\e[32m\nPerfect! Now you can use your fingerprint on the lock screen (Super + Escape).\e[0m"
else
echo -e "\e[31m\nSomething went wrong. Maybe try again?\e[0m"
fi