diff options
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/UnixIPC.qml')
| -rw-r--r-- | accounts/gkleen@sif/shell/quickshell/UnixIPC.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/UnixIPC.qml b/accounts/gkleen@sif/shell/quickshell/UnixIPC.qml index e19ccfb1..05a40dbc 100644 --- a/accounts/gkleen@sif/shell/quickshell/UnixIPC.qml +++ b/accounts/gkleen@sif/shell/quickshell/UnixIPC.qml | |||
| @@ -84,12 +84,12 @@ Scope { | |||
| 84 | Component.onCompleted: { (_ => {})(MprisProxy.players); } | 84 | Component.onCompleted: { (_ => {})(MprisProxy.players); } |
| 85 | 85 | ||
| 86 | function onCommandNotifications(command) { | 86 | function onCommandNotifications(command) { |
| 87 | if (command.DismissGroup && !NotificationManager.displayInhibited) { | 87 | if (command.DismissGroup && NotificationManager.active) { |
| 88 | if (NotificationManager.groups.length > 0) | 88 | if (NotificationManager.groups.length > 0) |
| 89 | for (const notif of [...NotificationManager.groups[0]]) | 89 | for (const notif of [...NotificationManager.groups[0]]) |
| 90 | notif.dismiss(); | 90 | notif.dismiss(); |
| 91 | } | 91 | } |
| 92 | if (command.DismissAll && !NotificationManager.displayInhibited) { | 92 | if (command.DismissAll && NotificationManager.active) { |
| 93 | for (const notif of [...NotificationManager.trackedNotifications.values]) | 93 | for (const notif of [...NotificationManager.trackedNotifications.values]) |
| 94 | notif.dismiss(); | 94 | notif.dismiss(); |
| 95 | } | 95 | } |
