[xmonad] Extended + fixed BinarySpacePartition layout -> feedback?

Anton Pirogov anton.pirogov at gmail.com
Mon Mar 2 19:46:05 UTC 2015


I found the awesome BSP layout, but felt like it has not reached its full
potential, so I developed it on, fixing some stuff and looking at bspwm
docs and videos to see what useful features might be missing (that are not
already perfectly satisfied by applying an existing layout modifier).

The most important changes:
- Actions on the tree now also affect the windows -> Swap does act
intuitively now
- The layout now works with BorderResize or MouseResize (reacting to
SetGeometry)

New Operations:
- Equalize and Balance -> equalize sets the ratios in a way that all
windows occupy the same space, Balance retiles the tree, so that the nodes
are balanced
- Vertical and horizontal flipping -> manipulates the tree resulting in a
"mirrored" layout on the fly
- right and left rotation (I find this one the least useful, but maybe
someone likes it. I needed the operations for balance anyway)

Eye candy:
- Added the window gaps feature and messages to adjust it on the fly. The
layout modifier Spacing was not suitable as it does not allow changing the
size of the gap dynamically.

https://github.com/apirogov/BinarySpacePartition

It would be great, if someone checks it out and I also would like to know,
whether this could be an update for the official BSP layout in contrib or
if there are users that do not like this for whatever reason (e.g. because
they like the old Swap behaviour), if I should rename it to something like
ExtendedBSP?

Other aspects: if there is interest, I could also refactor dynamic window
gaps out into its own layout modifier.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20150302/6b252781/attachment.html>


More information about the xmonad mailing list