-
-
Notifications
You must be signed in to change notification settings - Fork 723
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
Update always_center_master
to work on non-centered master mode orientations
#5312
Comments
Possible with workspace selectors: |
I completely missed that workspace selector in the docs, thanks - that solves my problem nicely. I'll leave the issue open for now since your PR is related to it. |
now you should be able to do also set |
Adding this rule seems to introduce some weird behavior for me (I normally use the left orientation):
After restarting Hyprland again, the above behavior seems to be gone so it might be some weird edge case. All workspaces are now behave as if I have Are there some other options I should check that might be interfering with this? |
probably a bug then. may get fixed in the future but i guess use gaps for now |
actually, you can try
i think this works |
Yep, can confirm that adding that second rule fixes it, thanks. Still seems like a bug though |
yea it's bug but i cba to fix it now, since you can always just override it like that depending on your need |
Description
The current implementation of
always_center_master
only works with orientation=center. It would be nice to have the same option for e.g. orientation=left, so the master window doesn't fill the entire screen when it is the only window in the workspace.The option name would be rather misleading after implementing this feature, however, so maybe
always_center_master
can be removed in favor ofkeep_master_when_only
or something.Use Case
Personally, my ultrawide screen isn't wide enough for the 3-column centered orientation but it's too wide for windows to take the full screen width comfortably. I wrote a small script to handle this by floating and resizing windows but it would be nice to have it builtin so windows are still tiled.
The text was updated successfully, but these errors were encountered: