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

Add option to show slaves on left in master layout center orientation #8940

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

Zetta1Reid0
Copy link
Contributor

@Zetta1Reid0 Zetta1Reid0 commented Jan 3, 2025

Adds the option to use right master orientation when slave_count_for_center_master > 2 ,
also makes windows tile to left side first then to the right side when option is set.

Is it ready for merging, or does it need work?

I think it should e finished. I tested it, everything works as expected.

src/config/ConfigDescriptions.hpp Outdated Show resolved Hide resolved
src/config/ConfigManager.cpp Outdated Show resolved Hide resolved
@khushal-solves
Copy link
Contributor

Why only left or right.. why not top and bottom?

@Zetta1Reid0
Copy link
Contributor Author

Why only left or right.. why not top and bottom?

Couse, it doesn't only set the layout used if slave_counter_for_center_master > 2. It also makes windows spawn from left to right instead of right to left when masters are centered, Can't do that in 1 property, since we can't decide where should slaves spawn if we are using top or bottom.

@Zetta1Reid0 Zetta1Reid0 force-pushed the main branch 2 times, most recently from 9f18a46 to 9d94f79 Compare January 5, 2025 17:33
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rest ok, wiki mr needed

src/layout/MasterLayout.cpp Outdated Show resolved Hide resolved
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@vaxerski vaxerski merged commit c7086f9 into hyprwm:main Jan 7, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants