diff options
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Lockscreen.qml')
-rw-r--r-- | accounts/gkleen@sif/shell/quickshell/Lockscreen.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml b/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml index e4f8e1c9..124f441b 100644 --- a/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml +++ b/accounts/gkleen@sif/shell/quickshell/Lockscreen.qml | |||
@@ -78,8 +78,9 @@ Scope { | |||
78 | pam.abort(); | 78 | pam.abort(); |
79 | 79 | ||
80 | if (locked) { | 80 | if (locked) { |
81 | NiriService.sendCommand({ "Action": { "PowerOffMonitors": {} } }); | ||
81 | Custom.KeePassXC.lockAllDatabases(); | 82 | Custom.KeePassXC.lockAllDatabases(); |
82 | Array.from(Mpris.players.values).forEach(player => { | 83 | Array.from(MprisProxy.players).forEach(player => { |
83 | if (player.canPause && player.isPlaying) | 84 | if (player.canPause && player.isPlaying) |
84 | player.pause(); | 85 | player.pause(); |
85 | }); | 86 | }); |
@@ -88,6 +89,8 @@ Scope { | |||
88 | } | 89 | } |
89 | } | 90 | } |
90 | 91 | ||
92 | Binding { target: MprisProxy; } | ||
93 | |||
91 | onSecureStateChanged: Custom.Systemd.lockedHint = lock.secure | 94 | onSecureStateChanged: Custom.Systemd.lockedHint = lock.secure |
92 | 95 | ||
93 | WlSessionLockSurface { | 96 | WlSessionLockSurface { |