horizontal grid
Description
This patch is a variant of gaplessgrid. It arranges windows in a grid pattern in which every window is roughly the same size, adjusted such that there are no gaps. However, this layout arranges the windows in a horizontal grid, rather than a vertical grid.
Horizontal Grid Layout
horizgrid (###)
+--------+--------+
| | |
| | |
+-----+--+--+-----+
| | | |
| | | |
+-----+-----+-----+
gapless_grid
+--------+--------+
| | |
| +--------+
+--------+ |
| +--------+
| | |
+--------+--------+
Usage
Download horizgrid.c and add the gapless layout to your config.h:
#include "horizgrid.c"
static const Layout layouts[] = {
/* symbol arrange function */
{ "###", horizgrid },
...
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_g, setlayout, {.v = &layouts[0] } },
...
Download
- dwm-horizgrid-6.1.diff (20160108)
Authors
- Marshall Mason -
<marshallmason2@gmail.com>