From f9810413c6aff247b63d8321812a98f204eb0b49 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 13 Sep 2025 17:26:41 +0200 Subject: ... --- .../shell/quickshell/NotificationInhibitorWidget.qml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'accounts/gkleen@sif/shell/quickshell/NotificationInhibitorWidget.qml') diff --git a/accounts/gkleen@sif/shell/quickshell/NotificationInhibitorWidget.qml b/accounts/gkleen@sif/shell/quickshell/NotificationInhibitorWidget.qml index 1005182a..26ac4bde 100644 --- a/accounts/gkleen@sif/shell/quickshell/NotificationInhibitorWidget.qml +++ b/accounts/gkleen@sif/shell/quickshell/NotificationInhibitorWidget.qml @@ -41,8 +41,13 @@ Item { implicitSize: 14 anchors.centerIn: parent - icon: NotificationManager.displayInhibited ? "message-off" : "message" - color: NotificationManager.displayInhibited ? "white" : "#555" + icon: NotificationManager.active ? "message" : "message-off" + color: { + if (!NotificationManager.active && !NotificationManager.displayInhibited) + return "#f28a21"; + if (NotificationManager.displayInhibited) + return "white"; + return "#555"; } } } @@ -64,7 +69,7 @@ Item { sourceComponent: PopupWindow { id: tooltip - property bool nextVisible: !NotificationManager.displayInhibited && (widgetMouseArea.containsMouse || tooltipMouseArea.containsMouse) + property bool nextVisible: NotificationManager.active && (widgetMouseArea.containsMouse || tooltipMouseArea.containsMouse) anchor { item: widgetMouseArea -- cgit v1.2.3