summaryrefslogtreecommitdiff
path: root/modules/lock/Pam.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-10 21:05:31 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-10 21:05:31 +1000
commitaa08957538f7ff177a6feeaca26ec7d224f99ba9 (patch)
treedefd4216b3e5c1cbcadff2ef1cd182eb1373c2f7 /modules/lock/Pam.qml
parentlock: add placeholder + manual focus (diff)
downloadcaelestia-shell-aa08957538f7ff177a6feeaca26ec7d224f99ba9.tar.gz
caelestia-shell-aa08957538f7ff177a6feeaca26ec7d224f99ba9.tar.bz2
caelestia-shell-aa08957538f7ff177a6feeaca26ec7d224f99ba9.zip
lock: center password field + placeholder states
Diffstat (limited to 'modules/lock/Pam.qml')
-rw-r--r--modules/lock/Pam.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/lock/Pam.qml b/modules/lock/Pam.qml
index 7863603..6752d30 100644
--- a/modules/lock/Pam.qml
+++ b/modules/lock/Pam.qml
@@ -8,8 +8,9 @@ Scope {
required property WlSessionLock lock
- property string state: "none"
- property string buffer: ""
+ readonly property bool active: passwd.active
+ property string state
+ property string buffer
function handleKey(event: KeyEvent): void {
if (passwd.active)
@@ -59,6 +60,6 @@ Scope {
id: stateReset
interval: 4000
- onTriggered: root.state = "none"
+ onTriggered: root.state = ""
}
}