From 72abd9db7c907fc1a6ef7bf8d2483649aa3bc949 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 6 Mar 2026 18:54:32 +0100 Subject: ... --- accounts/gkleen@sif/shell/quickshell/Lockscreen.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml b/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml index fc2e1f9f..30fa68b5 100644 --- a/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml +++ b/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml @@ -35,8 +35,11 @@ Scope { target: Custom.Systemd function onSleep(before: bool) { console.log(`received prepare for sleep ${before}`); - if (before) + if (before) { lock.locked = true; + if (pam.active) + pam.abort(); + } } function onLock() { lock.locked = true; } function onUnlock() { lock.locked = false; } -- cgit v1.2.3