bspwm: tiling window manager that represents windows as leaves of a binary tree
31–33 of 33 posts
Re: bspwm: tiling window manager that represents windows as leaves of a binary tree
#32Earlier quoted context omitted.
Absolutely this. I'll highlight two sub-commands of bspc that are particularly helpful for "building your own window manager" as you mention: You can dump the entire state of bspwm to JSON using `bspc wm -d`, and you can subscribe to window manager events using `bspc subscribe`. An example I've implemented for myself: When opening a single app in an empty workspace, by default bspwm stretches the window to fit the wh…
That particular example sounds more complicated than it is to apply dwm’s alwayscentered patch, yank-put the Gimp isfloating example line in the default config.g, and s/Gimp/terminal/ (which doesn’t actually require truly grokking C).
But it's a nice trick and I will fully admit it :)
Re: bspwm: tiling window manager that represents windows as leaves of a binary tree
#33Earlier quoted context omitted.
Same here. What's problem does this solve? Or, is this just a neat proof-of-concept project? This isn't a loaded question, I'm genuinely curious.
Navigation of the windows to which one is focused is no longer keyboard driven. Many just move the window into the largest leaf, and rotate the rest. Focus will still follow your mouse I believe. The binary tree concept just is a way of sorting the windows such that the rotation is predictable regardless of tiling layout.