From 43af16801fcbb7056a51ed5fd6539c74ff5c0379 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 12 Sep 2025 14:21:21 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell/Lockscreen.qml | 7 +------ 1 file changed, 1 insertion(+), 6 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 456baa98..f983388c 100644 --- a/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml +++ b/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml @@ -70,11 +70,6 @@ Scope { mode: Custom.SystemdInhibitorParams.Delay } - Scope { - id: mprisProxy - property list players: Mpris.players.values - } - WlSessionLock { id: lock @@ -85,7 +80,7 @@ Scope { if (locked) { NiriService.sendCommand({ "Action": { "PowerOffMonitors": {} } }); Custom.KeePassXC.lockAllDatabases(); - Array.from(mprisProxy.players).forEach(player => { + Array.from(MprisProxy.players).forEach(player => { if (player.canPause && player.isPlaying) player.pause(); }); -- cgit v1.2.3