From 985d137d7182ca8ae85101acc6dc91fdbc76a681 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 4 Jul 2025 15:05:07 -0700 Subject: [PATCH] Add a fingerprint setup script Follow-up to #54 --- bin/omarchy-fingerprint-setup | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 bin/omarchy-fingerprint-setup diff --git a/bin/omarchy-fingerprint-setup b/bin/omarchy-fingerprint-setup new file mode 100755 index 0000000..ca3f57d --- /dev/null +++ b/bin/omarchy-fingerprint-setup @@ -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 +