Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT]: Add a check for nr of windows open in "monitor-work-area-offset" #434

Closed
Feistybeard opened this issue May 17, 2023 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@Feistybeard
Copy link

Is your feature request related to a problem? Please describe.
My "problem" is that I have a super ultrawide monitor (32:9) and sometimes only happen to have 1 or 2 windows open. This makes the windows span over the whole screen which is kind of overkill.

Describe the solution you'd like
Essentially it would be nice if "monitor-work-area-offset" could have an added parameter which checks nr of windows open.
That way one can check if there is 1 or 2 windows open and use a offset to center said window(s).

Describe alternatives you've considered
One way of doing this now would be to do it manually with different sets of hotkeys, but it would be nice if
it was automated.

Additional context
So there seems to be a function that checks nr of windows open in a workspace in the "workspace-layout-rule", maybe its possible to use that somehow in combination with the "monitor-work-area-offset"? Or maybe there is a way to already to this and I somehow missed it?

@Feistybeard Feistybeard added the enhancement New feature or request label May 17, 2023
@Feistybeard Feistybeard changed the title [FEAT]: Add a check for nr. of windows open in "monitor-work-area-offset" [FEAT]: Add a check for nr of windows open in "monitor-work-area-offset" May 17, 2023
@LGUG2Z LGUG2Z self-assigned this May 12, 2024
@LGUG2Z LGUG2Z closed this as completed in 17acb1a May 13, 2024
LGUG2Z added a commit that referenced this issue May 15, 2024
This commit adds a new monitor configuration option, single_window_work_area_offset, which will
apply to a monitor when only a single window is open on a workspace. This is implemented as a Rect
to enable its use on both horizontally and vertically positioned monitors. This option will be
particularly useful for ultrawide monitor users, where a single window taking up the full width of
the work area can often hinder usability.

resolve #434
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants