feat(taskbar): add minimal style option for workspace labels#3075
Open
joao-paulo-santos wants to merge 1 commit into
Open
feat(taskbar): add minimal style option for workspace labels#3075joao-paulo-santos wants to merge 1 commit into
joao-paulo-santos wants to merge 1 commit into
Conversation
8637cef to
6e585d0
Compare
When enabled, workspace labels in the taskbar show as colored text without the colored disc background. The fill color (primary for active, secondary for occupied) becomes the text color instead. This mirrors the minimal style option already available in the workspaces widget.
6e585d0 to
8b59c9a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
minimalsetting to the taskbar widget. When enabled, workspace labels render as colored text without the colored disc background, using the workspace fill color (primary for active, secondary for occupied) as the text color.Motivation
This mirrors the minimal style option already available in the workspaces widget, providing visual consistency between the two workspace-related widgets. Some users prefer the cleaner look of text-only workspace labels without a filled disc background.
Type of Change
Related Issue
N/A.
Testing
ninja -C buildclean buildpython3 tools/i18n-check.pypassesclang-format --dry-run --WerrorpassesManual Coverage
Screenshots / Videos
Off:

On:

Checklist
CONTRIBUTING.md.just formatwith clang-format v22+ installed, or this PR has no code changes.assets/translations/en.json, or this PR adds no new user-facing strings.Additional Notes
Config example:
Three changes in
taskbar_widget.cpp:styleWorkspaceDisc: sets transparent fill instead of workspace fill color when minimal is onworkspaceFillColorinstead ofworkspaceTextColorwhen minimal is onNo structural changes to the rendering pipeline. The disc Box remains in the scene graph but is transparent, keeping layout and hit-testing unchanged. The setting is visible in the taskbar widget settings when "Show Workspace Label" is enabled.