Skip to content

feat(renderer): allow plugin groups to override segment colors#202

Merged
fabioluciano merged 1 commit intofabioluciano:mainfrom
endoze:allow-groups-to-color-built-in-widgets
Mar 6, 2026
Merged

feat(renderer): allow plugin groups to override segment colors#202
fabioluciano merged 1 commit intofabioluciano:mainfrom
endoze:allow-groups-to-color-built-in-widgets

Conversation

@endoze
Copy link
Copy Markdown
Contributor

@endoze endoze commented Mar 2, 2026

Currently plugin groups only affect separator background colors between grouped plugins, relying on health-based colors for the segments themselves. This makes groups less visually cohesive since each plugin still renders with its own health-derived palette.

Adding a @powerkit_plugin_group_coloring option lets users opt into having the group palette color applied to all segments within a group, creating a unified visual band. Health feedback is preserved through bold text styling rather than background colors, so no information is lost. The feature is off by default to maintain backward compatibility.

Special states (inactive, failed) and transparent mode are handled explicitly to avoid overriding semantic indicators that should always take precedence over cosmetic grouping.

Closes #201

@fabioluciano
Copy link
Copy Markdown
Owner

fabioluciano commented Mar 5, 2026

All ok for me... i just ask you to add docs for this option before you merge it :)

wiki/Configuration.md and wiki/assets/powerkit-options.conf

@endoze endoze force-pushed the allow-groups-to-color-built-in-widgets branch from 034cf95 to ca95eea Compare March 5, 2026 15:19
@endoze
Copy link
Copy Markdown
Contributor Author

endoze commented Mar 5, 2026

@fabioluciano I've updated the docs to reflect my changes, have a look and see if this will work for you.

@fabioluciano
Copy link
Copy Markdown
Owner

Hi :)

you need to resolve the conflict

Currently plugin groups only affect separator background colors between
grouped plugins, relying on health-based colors for the segments
themselves. This makes groups less visually cohesive since each plugin
still renders with its own health-derived palette.

Adding a @powerkit_plugin_group_coloring option lets users opt into
having the group palette color applied to all segments within a group,
creating a unified visual band. Health feedback is preserved through
bold text styling rather than background colors, so no information is
lost. The feature is off by default to maintain backward compatibility.

Special states (inactive, failed) and transparent mode are handled
explicitly to avoid overriding semantic indicators that should always
take precedence over cosmetic grouping.
@endoze endoze force-pushed the allow-groups-to-color-built-in-widgets branch from ca95eea to fb3dd74 Compare March 6, 2026 15:45
@endoze
Copy link
Copy Markdown
Contributor Author

endoze commented Mar 6, 2026

I've resolved the conflicts in both the main repo and the submodule

@fabioluciano fabioluciano merged commit a5eb7a6 into fabioluciano:main Mar 6, 2026
6 checks passed
github-actions bot pushed a commit that referenced this pull request Mar 6, 2026
## [5.24.0](v5.23.1...v5.24.0) (2026-03-06)

### Features

* **renderer:** allow plugin groups to override segment colors ([#202](#202)) ([a5eb7a6](a5eb7a6))
@endoze endoze deleted the allow-groups-to-color-built-in-widgets branch March 6, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Groups do not apply background colors directly to plugins

2 participants