From aea57958326360a1dc15509c02397594da20538e Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 23 Aug 2025 20:43:04 +1000 Subject: 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 --- modules/lock/NotifDock.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/lock/NotifDock.qml') diff --git a/modules/lock/NotifDock.qml b/modules/lock/NotifDock.qml index 1cfcd28..a986052 100644 --- a/modules/lock/NotifDock.qml +++ b/modules/lock/NotifDock.qml @@ -42,7 +42,7 @@ ColumnLayout { anchors.centerIn: parent asynchronous: true active: opacity > 0 - opacity: root.lock.animating || Notifs.list.length > 0 ? 0 : 1 + opacity: Notifs.list.length > 0 ? 0 : 1 sourceComponent: ColumnLayout { spacing: Appearance.spacing.large @@ -51,7 +51,7 @@ ColumnLayout { asynchronous: true source: `file://${Quickshell.shellDir}/assets/dino.png` fillMode: Image.PreserveAspectFit - sourceSize.width: root.lock.animating ? 0 : clipRect.width * 0.8 + sourceSize.width: clipRect.width * 0.8 layer.enabled: true layer.effect: Colouriser { @@ -84,7 +84,7 @@ ColumnLayout { clip: true model: ScriptModel { - values: root.lock.animating ? [] : [...new Set(Notifs.list.map(notif => notif.appName))].reverse() + values: [...new Set(Notifs.list.map(notif => notif.appName))].reverse() } delegate: NotifGroup {} -- cgit v1.2.3-freya