feat(workspaces): add focused_only option for focused-monitor highlighting#3069
Open
joao-paulo-santos wants to merge 1 commit into
Open
Conversation
New config option for workspace widget: focused_only = false (default). When enabled, only the monitor with keyboard/pointer focus shows the active workspace highlight color. Other monitors show their active workspace as occupied color instead.
a893733 to
53f253d
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.
Adds a new
focused_onlyconfig option to the workspaces bar widget (default: false). When enabled, the active workspace highlight (focused color) is only shown on the monitor that currently has keyboard or pointer focus. Other monitors display their active workspace using the occupied color instead.This addresses multi-monitor setups where every monitor simultaneously highlights its own active workspace, making it ambiguous which monitor actually has focus.
The setting is opt-in and defaults to current behavior. It detects focus changes live, so colors update immediately when switching monitors.
Config example:
Visible in the settings GUI under the workspaces widget as "Focused Highlight Only".