From f9810413c6aff247b63d8321812a98f204eb0b49 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 13 Sep 2025 17:26:41 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell/UnixIPC.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accounts/gkleen@sif/shell/quickshell/UnixIPC.qml') 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 { Component.onCompleted: { (_ => {})(MprisProxy.players); } function onCommandNotifications(command) { - if (command.DismissGroup && !NotificationManager.displayInhibited) { + if (command.DismissGroup && NotificationManager.active) { if (NotificationManager.groups.length > 0) for (const notif of [...NotificationManager.groups[0]]) notif.dismiss(); } - if (command.DismissAll && !NotificationManager.displayInhibited) { + if (command.DismissAll && NotificationManager.active) { for (const notif of [...NotificationManager.trackedNotifications.values]) notif.dismiss(); } -- cgit v1.2.3