sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (1256B)


      1 horizontal grid
      2 ===============
      3 
      4 Description
      5 -----------
      6 This patch is a variant of [gaplessgrid](../gaplessgrid/). It arranges
      7 windows in a grid pattern in which every window is roughly the same size,
      8 adjusted such that there are no gaps. However, this layout arranges the windows
      9 in a horizontal grid, rather than a vertical grid.
     10 
     11 Horizontal Grid Layout
     12 ----------------------
     13 	horizgrid     (###)
     14 	+--------+--------+
     15 	|        |        |
     16 	|        |        |
     17 	+-----+--+--+-----+
     18 	|     |     |     |
     19 	|     |     |     |
     20 	+-----+-----+-----+
     21 
     22 	gapless_grid
     23 	+--------+--------+
     24 	|        |        |
     25 	|        +--------+
     26 	+--------+        |
     27 	|        +--------+
     28 	|        |        |
     29 	+--------+--------+
     30 
     31 Usage
     32 -----
     33 Download `horizgrid.c` and add the gapless layout to your `config.h`:
     34 
     35 	#include "horizgrid.c"
     36 
     37 	static const Layout layouts[] = {
     38 		/* symbol     arrange function */
     39 		{ "###",      horizgrid },
     40 	...
     41 
     42 	static Key keys[] = {
     43 		/* modifier                     key        function        argument */
     44 		{ MODKEY,                       XK_g,      setlayout,      {.v = &layouts[0] } },
     45 	...
     46 
     47 Download
     48 --------
     49 * [dwm-horizgrid-6.1.diff](dwm-horizgrid-6.1.diff) (20160108)
     50 
     51 Authors
     52 -------
     53 * Marshall Mason - `<marshallmason2@gmail.com>`