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 "Master Stack Layout" #287

Open
notmentaloutlaw opened this issue Apr 16, 2024 · 4 comments
Open

Add "Master Stack Layout" #287

notmentaloutlaw opened this issue Apr 16, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@notmentaloutlaw
Copy link

Window managers such as dwl, dwm and hyprland have a layout called the master stack layout. It makes it so that half of the screen (vertically split) will always have one application. This will be your master window. The other applications would share split space on the other half of the screen. You can then move around the windows and switch around which windows you want to have master. This is great for workflows as you can always have an application focused but also see your other open windows without having to manually adjust the layout with the default i3 style. The master stack layout will make this setup automatically and you don't need to do anything further.

@notmentaloutlaw notmentaloutlaw added the enhancement New feature or request label Apr 16, 2024
@ErikReider
Copy link
Collaborator

Have you used the autotiling script? Does the same thing through the IPC

@notmentaloutlaw
Copy link
Author

I have tried https://github.com/nwg-piotr/autotiling and used autotiling --limit 2, which is closer to the master stack layout but it has its flaw for example when you want to swap "master" and "slave" windows there sometimes is an intermediary when a window goes in the middle or breaks the master stack layout by doing so. In the implementations I have mentioned before there are dedicated functions to swap windows so they are always in the master and slave format.

@swwwee
Copy link

swwwee commented Apr 19, 2024

It does seem interesting, and could be a nice feature for other users. I personally love the sway default, but I think it would be a nice to have the option.

@eclairevoyant
Copy link

You might be looking for https://github.com/johnae/persway (provides spiral and stack_main layouts)

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

4 participants