-
Notifications
You must be signed in to change notification settings - Fork 420
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
Reorganize the tree #171
Comments
|
Ah ha! Thank you. I didn't expect rotate to do that. Thanks I'll set that up. Should that be in a wiki page? I wish I could see https://www.reddit.com/r/unixporn/comments/1m0ea1/arch_bspwm_why_bspwm_watch_this_screencast_and/ which sounds like the only cool demo video of BSPWM that existed (seems gone now). |
... and sometimes I get:
... depending visibly if I've B or C selected. This is further more confusing that often I cannot rotate on some edges. I found no sxhkdrc using it. The transformation above is however useful. It'd be most useful by a drag&drop (example drag C to bottom edge of B generates the first transform, the second is the desktop -R). |
I use i3 and this is the issue blocking me from switching to bspwm. I figured a visual example would help, so here: Given a starting state I want to move one of the stacked windows out into its own column on the right. In i3, I would focus the window and press Mod4 + Shift + L, which is the default shortcut for A similar operation in bspwm is possible with the right node movements and tree rotations, but often a confusing exercise. This is because understanding the underlying binary tree based on an arrangement of windows is easily complicated by manual split directions. For example, based on the above initial arrangement of windows, which of these trees is correct? It's ambiguous. The three-stack arrangement on the right could have happened through either the top or the bottom node being split vertically. Once we do figure that out, which node do we choose to move or rotate, and in which direction? Am I rotating the binary tree or its visual representation? How does one map to the other? How do manual splits affect that mapping? How the heck do I just push this window to right there? The documentation seems to assume I know all of these things (and I thought I did!). For now, I'll continue staring at the output of Am I missing something? If someone can explain this to me, I'd be happy to make illustrations to help document it. |
That's a valid complaint: there're many cases where it's impossible to know in advance what layout will produce a local rotation. In you particular example, If I manage to generalise window commands to internal tree nodes, the given example would be solved by preselecting right on the root node and by re-inserting the focused window on that node. The graphics are very nice by the way. |
Is this something still being planned? |
It is, but I don't have too much time to work on bspwm right now. |
It is now possible (as of eb07d2f) to preselect internal nodes. |
sory for unburying but with good use of the node roatate fonction anko problem is solved in 3 step What you can't solve with rotate however is when you have 4 nodes on default shape (fibonacci layout) and you want them to take a grid layout |
I found myself often with a tree that doesn't look like what I want (for example two large horizontal wide windows on an already wide screen instead of two vertical ones).
However to change the tree structure I found it really difficult:
Is there a simpler way? Something along like drag & drop on edges?
The text was updated successfully, but these errors were encountered: