From 5f6ddc16aed05c4c893518b8391ef5200549d03a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 11 Sep 2025 23:57:10 +0200 Subject: ... --- .../gkleen@sif/shell/quickshell/SystemTray.qml | 37 +++++++++++++++++----- 1 file changed, 29 insertions(+), 8 deletions(-) (limited to 'accounts/gkleen@sif/shell/quickshell/SystemTray.qml') diff --git a/accounts/gkleen@sif/shell/quickshell/SystemTray.qml b/accounts/gkleen@sif/shell/quickshell/SystemTray.qml index 6f70be29..351e74ee 100644 --- a/accounts/gkleen@sif/shell/quickshell/SystemTray.qml +++ b/accounts/gkleen@sif/shell/quickshell/SystemTray.qml @@ -1,4 +1,5 @@ import QtQuick +import QtQuick.Effects import Quickshell import Quickshell.Widgets import Quickshell.Services.SystemTray @@ -28,6 +29,9 @@ Item { delegate: Item { id: trayItemWrapper + required property var modelData + required property int index + property var trayItem: modelData property string iconSource: { let icon = trayItem && trayItem.icon @@ -91,15 +95,32 @@ Item { return "transparent"; } - IconImage { - id: icon + Item { + anchors.fill: parent + + layer.enabled: true + layer.effect: MultiEffect { + colorization: 1 + colorizationColor: "#555" + } + + IconImage { + id: icon - anchors.centerIn: parent - implicitSize: 16 - source: trayItemWrapper.iconSource - asynchronous: true - smooth: true - mipmap: true + anchors.centerIn: parent + implicitSize: 16 + source: trayItemWrapper.iconSource + asynchronous: true + smooth: true + mipmap: true + + layer.enabled: true + layer.effect: MultiEffect { + id: effect + + brightness: 1 + } + } } } } -- cgit v1.2.3