From e56a3a591b3a79a460f3bb4efac7418014775459 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 9 May 2025 00:58:42 +0200 Subject: [PATCH] systray: more readable monochrome icons --- .config/quickshell/modules/bar/SysTrayItem.qml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/modules/bar/SysTrayItem.qml b/.config/quickshell/modules/bar/SysTrayItem.qml index 70804a17..99e5a258 100644 --- a/.config/quickshell/modules/bar/SysTrayItem.qml +++ b/.config/quickshell/modules/bar/SysTrayItem.qml @@ -48,10 +48,16 @@ MouseArea { height: parent.height } - ColorOverlay { + Desaturate { + id: desaturatedIcon anchors.fill: trayIcon source: trayIcon - color: Appearance.colors.colOnLayer0 + desaturation: 1 // 1.0 means fully grayscale + } + ColorOverlay { + anchors.fill: desaturatedIcon + source: desaturatedIcon + color: Appearance.transparentize(Appearance.colors.colOnLayer0, 0.5) } }