From 666464567055a2e4ba9f6bb310e901cdc27977f7 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 12 Sep 2025 22:01:51 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell/Lockscreen.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'accounts/gkleen@sif/shell/quickshell/Lockscreen.qml') diff --git a/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml b/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml index 124f441b..880e6614 100644 --- a/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml +++ b/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml @@ -78,7 +78,7 @@ Scope { pam.abort(); if (locked) { - NiriService.sendCommand({ "Action": { "PowerOffMonitors": {} } }); + NiriService.sendCommand({ "Action": { "PowerOffMonitors": {} } }, _ => {}); Custom.KeePassXC.lockAllDatabases(); Array.from(MprisProxy.players).forEach(player => { if (player.canPause && player.isPlaying) @@ -88,8 +88,7 @@ Scope { GpgAgent.reloadAgent(); } } - - Binding { target: MprisProxy; } + Component.onCompleted: { (_ => {})(MprisProxy.players); } onSecureStateChanged: Custom.Systemd.lockedHint = lock.secure -- cgit v1.2.3