bsp-layout icon indicating copy to clipboard operation
bsp-layout copied to clipboard

New window never go on master

Open Cyberdr3am opened this issue 5 years ago • 9 comments

Hi

Thanks for making this app. I would like to know if it would be possible to make the new windows take the place of the master automatically. Currently the window i use remain in master while the new is always on the right (with the tall layout)

Cyberdr3am avatar Sep 02 '20 16:09 Cyberdr3am

This behaviour was implemented intentionally for my personal workfow. I'll try to implement a way to configure spawning behavior.

phenax avatar Sep 02 '20 16:09 phenax

Ok thanks a lot.

Cyberdr3am avatar Sep 02 '20 16:09 Cyberdr3am

If it's too complicated can you tell me how to do it definitively. I tried to do it by myself but I couldn't do it because I don't know bspwm well

Cyberdr3am avatar Sep 03 '20 16:09 Cyberdr3am

It is a bit tricky. I've got it to replace master if the node was spawned when focusing on master but for other nodes it is a bit more complicated. I'll try to spend some time this weekend with it and I'll let you know.

phenax avatar Sep 03 '20 17:09 phenax

Ok thanks

Cyberdr3am avatar Sep 04 '20 08:09 Cyberdr3am

You can do this with the default layout with bspc config initial_polarity first_child, I have been using that setting forever.

Unfortunately, combining that option with this script, all it does is makes it so the new window spawns at the top slave instead of the bottom one.

indeedwatson avatar Dec 03 '20 13:12 indeedwatson

Hi @Cyberdr3am :wave: bsp-layout is back :muscle:

if you've still got interest in that feature and/or news from your side, please let me know and we'll see what can be done :wink:

amtoine avatar Jun 16 '22 17:06 amtoine

Hi @amtoine

Yes i am still interest in that feature. If you can do it. I whant to use it with Master-stack rtall. Thx.

Cyberdr3am avatar Oct 16 '22 07:10 Cyberdr3am

Yes guys, I'm also interested in this feature. It seems to me that if the new window does not become the master, then in many ways the meaning of the master stack layout is lost. It would be great if you could implement it.

TAforever avatar Jan 28 '23 13:01 TAforever