From 7a7f67bc24622540e2475156e9b8a93e256118f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=E1=BB=B3nh=20Thi=E1=BB=87n=20L=E1=BB=99c?= Date: Wed, 28 Oct 2026 22:17:51 +0700 Subject: [PATCH] fix(osd): fill active keep-awake icon (#3986) port 2.0 (cherry picked from commit af9876d232307f035714e776a6f86d6d89c60dc4) --- quickshell/Modules/OSD/IdleInhibitorOSD.qml | 1 + quickshell/Modules/OSD/OsdIcon.qml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/quickshell/Modules/OSD/IdleInhibitorOSD.qml b/quickshell/Modules/OSD/IdleInhibitorOSD.qml index 41841cd13..157983a69 100644 --- a/quickshell/Modules/OSD/IdleInhibitorOSD.qml +++ b/quickshell/Modules/OSD/IdleInhibitorOSD.qml @@ -28,6 +28,7 @@ DOSD { anchors.centerIn: parent iconName: "local_cafe" iconColor: SessionService.idleInhibited ? Theme.primary : Theme.outline + filled: SessionService.idleInhibited } } } diff --git a/quickshell/Modules/OSD/OsdIcon.qml b/quickshell/Modules/OSD/OsdIcon.qml index c9979c108..2e4470dc4 100644 --- a/quickshell/Modules/OSD/OsdIcon.qml +++ b/quickshell/Modules/OSD/OsdIcon.qml @@ -9,6 +9,7 @@ Loader { property string label: "" property color iconColor: Theme.onSecondaryContainer property color backgroundColor: Theme.secondaryContainer + property bool filled: false property bool tonal: true property bool interactive: false property bool available: true @@ -48,6 +49,7 @@ Loader { name: root.iconName size: root.glyphSize color: root.available ? root.iconColor : Theme.onSurface_38 + filled: root.filled } } }