| index.md - sites - public wiki contents of suckless.org | |
| git clone git://git.suckless.org/sites | |
| Log | |
| Files | |
| Refs | |
| --- | |
| index.md (1354B) | |
| --- | |
| 1 gapless grid layout | |
| 2 =================== | |
| 3 | |
| 4 Description | |
| 5 ----------- | |
| 6 This patch is an altered [gridmode](../gridmode) layout for dwm, which a… | |
| 7 the windows in a grid. Instead of using a regular grid, which might leav… | |
| 8 cells when there are not enough windows to fill the grid, it adjusts the… | |
| 9 of windows in the first few columns to avoid empty cells. | |
| 10 | |
| 11 Usage | |
| 12 ----- | |
| 13 Download `gaplessgrid.c` and add the gapless layout to your `config.h`: | |
| 14 | |
| 15 #include "gaplessgrid.c" | |
| 16 | |
| 17 static const Layout layouts[] = { | |
| 18 /* symbol arrange function */ | |
| 19 { "###", gaplessgrid }, | |
| 20 ... | |
| 21 | |
| 22 static Key keys[] = { | |
| 23 /* modifier key function … | |
| 24 { MODKEY, XK_g, setlayout, … | |
| 25 ... | |
| 26 | |
| 27 Download | |
| 28 -------- | |
| 29 * [dwm-gaplessgrid-20160731-56a31dc.diff](dwm-gaplessgrid-20160731-56a31… | |
| 30 * [dwm-gaplessgrid-6.1.diff](dwm-gaplessgrid-6.1.diff) (20140209) | |
| 31 * [gaplessgrid.c](gaplessgrid.c) (dwm 5.6.1) (20090908) | |
| 32 * [dwm-r1437-gaplessgrid.diff](dwm-r1437-gaplessgrid.diff) (20090704) | |
| 33 * [dwm-5.2-gaplessgrid.diff](dwm-5.2-gaplessgrid.diff) (20081020) | |
| 34 | |
| 35 The following is gaplessgrid with support for fullgaps (to use with the … | |
| 36 * [gaplessgrid-fullgaps.c](gaplessgrid-fullgaps.c) |