summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-23 20:43:04 +1000
committerGitHub <noreply@github.com>2025-08-23 20:43:04 +1000
commitaea57958326360a1dc15509c02397594da20538e (patch)
treed3a4626e7246f93ae420f500a8b189ee0342b074 /assets
parentbar: add idle inhibitor (#459) (diff)
downloadcaelestia-shell-aea57958326360a1dc15509c02397594da20538e.tar.gz
caelestia-shell-aea57958326360a1dc15509c02397594da20538e.tar.bz2
caelestia-shell-aea57958326360a1dc15509c02397594da20538e.zip
lock: add fprint support (#429)
* lock: add fprint support * lock: better fprint detection * lock: cap error retries * nix: fix fprint pam for nix * lock: reset fprint tries * lock: minor pam fixes Delay fprint error retries Reset fprint error retries on lock * lock: loading indicator passwd state Instead of fprint state cause no way of detecting that * dashboard: better visualiser * lock: better fprint availability check * lock: better in/out anim Animating layout sizes is a bad idea :woe: Use scale instead * lock: add better error/fail messages * lock: less fprint icon states Already shown by message * lock: fix fprint reset * lock: include passwd pam * lock: flash message on change * lock: fix message anim Also wrap message instead of eliding * lock: better messages for no fprint
Diffstat (limited to 'assets')
-rw-r--r--assets/pam.d/fprint3
-rw-r--r--assets/pam.d/passwd6
2 files changed, 9 insertions, 0 deletions
diff --git a/assets/pam.d/fprint b/assets/pam.d/fprint
new file mode 100644
index 0000000..d4814e9
--- /dev/null
+++ b/assets/pam.d/fprint
@@ -0,0 +1,3 @@
+#%PAM-1.0
+
+auth required pam_fprintd.so max-tries=1
diff --git a/assets/pam.d/passwd b/assets/pam.d/passwd
new file mode 100644
index 0000000..4b14064
--- /dev/null
+++ b/assets/pam.d/passwd
@@ -0,0 +1,6 @@
+#%PAM-1.0
+
+auth required pam_faillock.so preauth
+auth [success=1 default=bad] pam_unix.so nullok
+auth [default=die] pam_faillock.so authfail
+auth required pam_faillock.so authsucc