Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion quickshell/Modules/DankBar/Widgets/IdleInhibitor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
}
}
Expand Down
Loading