diff options
| author | Leander Scherer <leander@schererleander.de> | 2026-05-30 15:35:27 +0200 |
|---|---|---|
| committer | Leander Scherer <leander@schererleander.de> | 2026-05-30 15:35:27 +0200 |
| commit | d2747e2ca1e211a32e91e44010f40a00e0ac97e4 (patch) | |
| tree | fb229d6a18541c7a5f1944390b21edde028955f9 /modules/system/quickshell/LockContext.qml | |
| parent | 51b3cbd50b92d026549ce3ebff17ca9b3344f441 (diff) | |
feat(quickshell): add popup controls and privacy indicators
Diffstat (limited to 'modules/system/quickshell/LockContext.qml')
| -rw-r--r-- | modules/system/quickshell/LockContext.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/system/quickshell/LockContext.qml b/modules/system/quickshell/LockContext.qml index 05fd1de..ea32a57 100644 --- a/modules/system/quickshell/LockContext.qml +++ b/modules/system/quickshell/LockContext.qml @@ -4,8 +4,8 @@ import Quickshell.Services.Pam Scope { id: root - signal unlocked() - signal failed() + signal unlocked + signal failed property string currentText: "" property bool unlockInProgress: false @@ -18,7 +18,8 @@ Scope { } function tryUnlock() { - if (currentText === "" || unlockInProgress) return; + if (currentText === "" || unlockInProgress) + return; unlockInProgress = true; pam.start(); } |
