diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-16 19:31:07 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-16 19:31:07 +1000 |
| commit | 832603903e9f5cd245014d72fb514cb3f368e490 (patch) | |
| tree | 49f52281f4949b7c131d48da7881a9439f544dc1 /modules/lock/Pam.qml | |
| parent | bar/workspaces: better scroll (diff) | |
| download | caelestia-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/Pam.qml')
| -rw-r--r-- | modules/lock/Pam.qml | 8 |
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 = ""; + } + } } |