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

Replaced always_center_master to slave_count_for_center_master #918

Merged
merged 1 commit into from
Dec 29, 2024

Conversation

khushal-solves
Copy link
Contributor

@khushal-solves khushal-solves commented Dec 29, 2024

  • Replaced boolean config parameter always_center_master to an integer value slave_count_for_center_master for center orientation of master layout.
  • Default behavior is unchanged with new default value 2.

Related Source Modification

I hope i've not misunderstood something.
Cheers!

Preview

This is a single line change which effects the wiki in following way:

Before:

name description type default
always_center_master when using orientation=center, keep the master window centered, even when it is the only window in the workspace. bool false

After:

name description type default
slave_count_for_center_master when using orientation=center, make the master window centered only when at least this many slave windows are open. (Set 0 to always_center_master) int 2

@vaxerski vaxerski merged commit 4bc397a into hyprwm:main Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants