-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Question] Syntax for BSP style window management #3
Comments
The first layout in the definition of the recursive layout is the outer layout. The idea is that using the outer layout, you create a layout of areas where you can generate other layouts. See recursive as a macro for layouts. It's designed to create exactly as areas much as there is sublayouts, the layouts after The most simple example is this let mut main_index = 0;
let mut main_amount = 1;
let mut main_factor = 0.6;
The parens "()" are used to specify the parameters of the said layout. Note:
The vertical and horizontal layouts are also influenced by layout values. When I create a layout, I like to also set the layout parameters of the tag I think are the most appropriate but you are free to do however you want. If you want a dwindle layout, assuming the first split is vertical, start with this
First you split the area vertically. Your
For the second area on the right, you'll have one layout but in that layout, you want to split the area horizontally in 2 again. Remember what was mentioned previously. Windows are spread evenly across layouts. Since the previous master has one window, this new one will have all the other left, and the master in this layout will have one and the slave all the other left.... Repeat this for as much splits as you want and you're done. For the last split however, you'll have to settle with a non recursive layout. You can't reasonably split indefinitely so recommend setting the layout to deck but it could be horizontal or vertical. |
Ok, thanks for the explanation. I think I got it. |
@ShandoTheKing have you created bspwm layout? if so provide |
Hey I've been using kile the last few weeks and I'm trying to achive window management that's similar to bpwm but I can't really seem to understand the syntax.
The text was updated successfully, but these errors were encountered: