| index.md - sites - public wiki contents of suckless.org | |
| git clone git://git.suckless.org/sites | |
| Log | |
| Files | |
| Refs | |
| --- | |
| index.md (1994B) | |
| --- | |
| 1 fibonacci layouts | |
| 2 ================= | |
| 3 | |
| 4 Description | |
| 5 ----------- | |
| 6 This patch adds two new layouts (`spiral` and `dwindle`) that arranges a… | |
| 7 windows in Fibonacci tiles: The first window uses half the screen, the s… | |
| 8 the half of the remainder, etc. ASCII art and a real screenshot of the s… | |
| 9 arrangement can be seen below. | |
| 10 | |
| 11 +-----------+-----------+ +-----------+-----------+ | |
| 12 | | | | | | | |
| 13 | | 2 | | | 2 | | |
| 14 | | | | | | | |
| 15 | 1 +--+--+-----+ | 1 +-----+-----+ | |
| 16 | | 5|-.| | | | | 4 | | |
| 17 | +--+--+ 3 | | | 3 +--+--+ | |
| 18 | | 4 | | | | | 5|-.| | |
| 19 +-----------+-----+-----+ +-----------+-----+-----+ | |
| 20 spiral dwindle | |
| 21 | |
| 22 Usage | |
| 23 ----- | |
| 24 1. Download the patch and apply according to the [general instructions](… | |
| 25 2. Include the `fibonacci.c` source file and add `spiral` and/or `dwindl… | |
| 26 the `Layout` section of your `config.h` file. Example from | |
| 27 `config.default.h`: | |
| 28 | |
| 29 #include "fibonacci.c" | |
| 30 static Layout layout[] = { | |
| 31 /* symbol function */ | |
| 32 { "[]=", tile }, /* first entry is def… | |
| 33 { "><>", floating }, | |
| 34 { "(@)", spiral }, | |
| 35 { "[\\]", dwindle }, | |
| 36 }; | |
| 37 3. Default key bindings are [Ctrl]+[r] for `spiral` and [Ctrl]+[Shift]+r… | |
| 38 `dwindle`. | |
| 39 | |
| 40 Download | |
| 41 -------- | |
| 42 * [dwm-fibonacci-5.8.2.diff](dwm-fibonacci-5.8.2.diff) | |
| 43 * [dwm-fibonacci-6.2.diff](dwm-fibonacci-6.2.diff) | |
| 44 * [dwm-fibonacci-20200418-c82db69.diff](dwm-fibonacci-20200418-c82db69.d… | |
| 45 | |
| 46 Author | |
| 47 ------ | |
| 48 * Jeroen Schot - <[email protected]> | |
| 49 | |
| 50 Maintainer | |
| 51 ---------- | |
| 52 * Niki Yoshiuchi - <[email protected]> | |
| 53 | |
| 54 Joe Thornber's spiral tiling for [Xmonad](http://www.xmonad.org) formed … | |
| 55 inspiration for this patch. Thanks to Jan Christoph Ebersbach for updati… | |
| 56 patch for versions 4.5 to 4.9. |