summaryrefslogtreecommitdiff
path: root/modules/lock
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-16 19:31:07 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-16 19:31:07 +1000
commit832603903e9f5cd245014d72fb514cb3f368e490 (patch)
tree49f52281f4949b7c131d48da7881a9439f544dc1 /modules/lock
parentbar/workspaces: better scroll (diff)
downloadcaelestia-shell-832603903e9f5cd245014d72fb514cb3f368e490.tar.gz
caelestia-shell-832603903e9f5cd245014d72fb514cb3f368e490.tar.bz2
caelestia-shell-832603903e9f5cd245014d72fb514cb3f368e490.zip
lock: clear password buffer on unlock
For when unlocking via ipc/globalshortcut
Diffstat (limited to 'modules/lock')
-rw-r--r--modules/lock/Pam.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/lock/Pam.qml b/modules/lock/Pam.qml
index fa6e3d7..2675405 100644
--- a/modules/lock/Pam.qml
+++ b/modules/lock/Pam.qml
@@ -63,4 +63,12 @@ Scope {
interval: 4000
onTriggered: root.state = ""
}
+
+ Connections {
+ target: root.lock
+
+ function onUnlock(): void {
+ root.buffer = "";
+ }
+ }
}