diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-23 20:43:04 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-23 20:43:04 +1000 |
| commit | aea57958326360a1dc15509c02397594da20538e (patch) | |
| tree | d3a4626e7246f93ae420f500a8b189ee0342b074 /modules/lock/LockSurface.qml | |
| parent | bar: add idle inhibitor (#459) (diff) | |
| download | caelestia-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 'modules/lock/LockSurface.qml')
| -rw-r--r-- | modules/lock/LockSurface.qml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml index 625abb5..c0c962c 100644 --- a/modules/lock/LockSurface.qml +++ b/modules/lock/LockSurface.qml @@ -14,7 +14,6 @@ WlSessionLockSurface { required property Pam pam readonly property alias unlocking: unlockAnim.running - readonly property bool animating: initAnim.running || unlockAnim.running color: "transparent" @@ -44,7 +43,7 @@ WlSessionLockSurface { } Anim { target: content - property: "centerScale" + property: "scale" to: 0 duration: Appearance.anim.durations.expressiveDefaultSpatial easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial @@ -132,7 +131,7 @@ WlSessionLockSurface { } Anim { target: content - property: "centerScale" + property: "scale" to: 1 duration: Appearance.anim.durations.expressiveDefaultSpatial easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial @@ -219,8 +218,13 @@ WlSessionLockSurface { Content { id: content + anchors.centerIn: parent + width: (root.screen?.height ?? 0) * Config.lock.sizes.heightMult * Config.lock.sizes.ratio - Appearance.padding.large * 2 + height: (root.screen?.height ?? 0) * Config.lock.sizes.heightMult - Appearance.padding.large * 2 + lock: root opacity: 0 + scale: 0 } } |