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

Having two side-by-side stacks of windows. #98

Closed
karrot42 opened this issue Jul 7, 2019 · 7 comments
Closed

Having two side-by-side stacks of windows. #98

karrot42 opened this issue Jul 7, 2019 · 7 comments

Comments

@karrot42
Copy link

karrot42 commented Jul 7, 2019

Once upon a time I used a tiling window manager called ratpoison that only had one desktop (space?) and so you could have all of your windows be full-size and then cycle through them, or you could split up the screen with windows, and there would be some windows that were effectively behind other ones that. There were windows within the space that you couldn't see.

Basically I could split the screen in two halves (side-by-side) and cycle through windows on either side as I saw fit, and I'd like to accomplish this with yabai.

There was a mode I was using in ChunkWM chunkc tiling::desktop --layout monocle which would kind of accomplish this, but I'd like to have basically this with two sets of windows side-by-side.

Thank you much for any help, and if anything is unclear I can write more, I was just trying to spare anyone a long post.

@dominiklohmann
Copy link
Collaborator

Best you can do is probably enable autobalance for the space you wish to do this on and keep the first split vertical and then all other splits horizontal (can be achieved with some signals, queries and commands). Here's a screenshot of the layout I'm thinking off:

image

If you want to overlap the windows to the right, you will have to use floating mode and use the window grid to achieve this. There currently is only zoom-parent and zoom-fullscreen, but no zoom-to-overlap-this-specific-parent-window or whatever you'd need there.

@karrot42
Copy link
Author

karrot42 commented Jul 7, 2019

Ah, thank you for confirming it isn't possible to do. Saved me a lot of trial-and-error.

@koekeishiya
Copy link
Owner

This reminds me of the monocle node concept I tested in kwm in the early days.

Sent with GitHawk

@karrot42
Copy link
Author

karrot42 commented Jul 7, 2019

This reminds me of the monocle node concept I tested in kwm in the early days.

Sent with GitHawk

Am I correct in seeing that monocle mode is not in Yabai (though it is ChunkWM)?

@koekeishiya
Copy link
Owner

Correct. There is no monocle in yabai, yet. I personally didn’t like the version implemented in chunkwm and so I try to iterate on solutions rather than blindly copying an existing one. I like to think that I can do better now that I am more experienced.

Sent with GitHawk

@karrot42
Copy link
Author

karrot42 commented Jul 7, 2019

Totally understand.

To me, monocle mode is a better version of zoom fullscreen and zoom parent-mode (actually I can't tell the difference between those two things) because it has the same effect while allowing you to cycle through all the windows in fullscreen very quickly.

Just giving you an example of my use-case in case it helps to give you an idea of to implement it.

@koekeishiya
Copy link
Owner

I might look into something like this in the future, but no promises. For regular monocle style setup look into the comment made by @dominiklohmann in #83

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

No branches or pull requests

3 participants