Add default-workspace-monitor config option - #2240
Open
christophervalles wants to merge 1 commit into
Open
Conversation
A workspace that has never been shown and isn't covered by
workspace-to-monitor-force-assignment has no monitor of its own yet, so
when first focused it opens on the main monitor. On multi-monitor setups
this means switching to a fresh workspace pulls focus to the main
monitor, away from where the user is currently working.
i3/sway open a new workspace on the focused output instead. Add an opt-in
option for that behavior:
default-workspace-monitor = 'main' # default, unchanged
default-workspace-monitor = 'focused' # open on the focused monitor
When set to 'focused' and the newly focused workspace has no monitor of
its own yet, setFocus places it on the monitor being switched away from
(oldFocus's monitor) rather than its default (main). Force-assigned,
visible, and previously-placed workspaces are unaffected, so behavior is
unchanged unless the option is opted into.
christophervalles
force-pushed
the
default-workspace-monitor
branch
from
August 24, 2026 01:38
450fa02 to
e712c8c
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.
PR checklist
./test.shpasses — verified locally on Xcode 26.6:swift test383/383, swiftformat + swiftlint + periphery all clean.