Pop new windows as main in primary stack
Is there an existing issue for this?
- [x] I have searched the existing issues
Proposal
I probably missed the way to do it in my whim.config.yaml …
By default, new windows are stacking at the end of my overflow column. I would really like to have them pop as main windows with current main windows stack at the beginning of the next stack.
Is this behavior configurable ?
Alternatives
No response
Additional context
No response
@dalyIsaac if you give me some hint about the feasibility and where I should look at in the codebase, I can try to add this feature.
btw, very nice project that works much better than bug.n that I was using until now to feel at home (Awesome/Archlinux)
Hi!
By default, new windows are stacking at the end of my overflow column.
This depends on the layout engine used. For example, the tree layout engine supports configuring the direction to add windows in. On the other hand, the slice layout engine will always add to the end of the list.
There isn't a global setting at this time, and it should be noted that engines aren't guaranteed to support adding a window in a given direction. However, each engine does have a MoveWindowToPoint which will add the window if it's not in the engine and attempt to add it at the given x,y position (where x,y are in the range [0, 1] in a given monitor).
I think it'd be a good thing to add, though adding it a global setting may need some consideration over where to store the setting.
Hopefully that helps!