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, 2 insertions, 3 deletions
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 { | |||
| 78 | pam.abort(); | 78 | pam.abort(); |
| 79 | 79 | ||
| 80 | if (locked) { | 80 | if (locked) { |
| 81 | NiriService.sendCommand({ "Action": { "PowerOffMonitors": {} } }); | 81 | NiriService.sendCommand({ "Action": { "PowerOffMonitors": {} } }, _ => {}); |
| 82 | Custom.KeePassXC.lockAllDatabases(); | 82 | Custom.KeePassXC.lockAllDatabases(); |
| 83 | Array.from(MprisProxy.players).forEach(player => { | 83 | Array.from(MprisProxy.players).forEach(player => { |
| 84 | if (player.canPause && player.isPlaying) | 84 | if (player.canPause && player.isPlaying) |
| @@ -88,8 +88,7 @@ Scope { | |||
| 88 | GpgAgent.reloadAgent(); | 88 | GpgAgent.reloadAgent(); |
| 89 | } | 89 | } |
| 90 | } | 90 | } |
| 91 | 91 | Component.onCompleted: { (_ => {})(MprisProxy.players); } | |
| 92 | Binding { target: MprisProxy; } | ||
| 93 | 92 | ||
| 94 | onSecureStateChanged: Custom.Systemd.lockedHint = lock.secure | 93 | onSecureStateChanged: Custom.Systemd.lockedHint = lock.secure |
| 95 | 94 | ||
