diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-13 17:26:41 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-13 17:26:41 +0200 |
| commit | f9810413c6aff247b63d8321812a98f204eb0b49 (patch) | |
| tree | 8dfaa614c50b6aebdb1048a4718491676fa0734a /accounts/gkleen@sif/shell/quickshell/UnixIPC.qml | |
| parent | 3ce3fe19b11e30fd98d7eee06d56b90ae33b228d (diff) | |
| download | nixos-f9810413c6aff247b63d8321812a98f204eb0b49.tar nixos-f9810413c6aff247b63d8321812a98f204eb0b49.tar.gz nixos-f9810413c6aff247b63d8321812a98f204eb0b49.tar.bz2 nixos-f9810413c6aff247b63d8321812a98f204eb0b49.tar.xz nixos-f9810413c6aff247b63d8321812a98f204eb0b49.zip | |
...
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 | } |
