New layout: GridVariants.SplitGrid


A new xmonad layout has been committed to the xmonad-contrib repository, courtesy Norbert Zeh. Here’s how he describes it:

After using GridVariants.TallGrid for a while, I got fed up with the fact that the meaning of columns and rows get exchanged when TallGrid is rotated using Mirror (as well as with other small nuisances).

The attached patch contains a new layout, GridVariants.SplitGrid, which allows the orientation of the split between the master and the slave grid to be specified as a parameter, thus doing away with the need to use Mirror or Reflect with this layout.

What SplitGrid and TallGrid do should be achievable using the standard Grid layout plus a layout combinator.  However, the automatic assignment of clients to the master/slave grids would require more plumbing in xmonad.hs, which is why I opted for writing this as a separate layout.

No Responses Yet to “New layout: GridVariants.SplitGrid”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: