From 33275b4bc26ff971333f234ecb2e1b0084d5960d Mon Sep 17 00:00:00 2001 From: "Aaron Tulino (Aaronjamt)" Date: Mon, 11 May 2026 11:37:03 -0700 Subject: [PATCH] bar(IdleInhibitor): Color icon when activated --- quickshell/Modules/DankBar/Widgets/IdleInhibitor.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/quickshell/Modules/DankBar/Widgets/IdleInhibitor.qml b/quickshell/Modules/DankBar/Widgets/IdleInhibitor.qml index a8e5993d7..41126c90a 100644 --- a/quickshell/Modules/DankBar/Widgets/IdleInhibitor.qml +++ b/quickshell/Modules/DankBar/Widgets/IdleInhibitor.qml @@ -7,6 +7,9 @@ import qs.Widgets BasePill { id: root + property color idleColor: Theme.widgetTextColor + property color inhibitColor: Theme.primary + content: Component { Item { implicitWidth: icon.width @@ -17,7 +20,7 @@ BasePill { anchors.centerIn: parent name: SessionService.idleInhibited ? "motion_sensor_active" : "motion_sensor_idle" size: Theme.barIconSize(root.barThickness, -4, root.barConfig?.maximizeWidgetIcons, root.barConfig?.iconScale) - color: Theme.widgetTextColor + color: SessionService.idleInhibited ? inhibitColor : idleColor } } }