sites

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

index.md (2426B)


      1 tatami layout
      2 =============
      3 
      4 Description
      5 -----------
      6 This patch adds a new layout, tatami, that arranges all windows like
      7 tatami tiles. This patch forms 'mats' of 5 or less windows each, and
      8 each mat has 5 different possible arrangements. The mats then form a 
      9 stack as shown in the `7+ windows` diagram below.
     10 
     11 	+-----------+-----------+  +-----------+-----------+
     12 	|           |           |  |           |           |
     13 	|           |           |  |           |     2     |
     14 	|           |           |  |           |           |
     15 	|     1     |     2     |  |     1     +-----------+
     16 	|           |           |  |           |           |
     17 	|           |           |  |           |     3     |
     18 	|           |           |  |           |           |
     19 	+-----------+-----------+  +-----------+-----------+
     20 		2 windows                  3 windows
     21 
     22 	+-----------+-----+-----+  +-----------+-----------+
     23 	|           |     |     |  |           |     2     |
     24 	|           |  2  |  3  |  |           +-----+-----+
     25 	|           |     |     |  |           |     |     |
     26 	|     1     +-----+-----+  |     1     |  3  |  4  |
     27 	|           |           |  |           |     |     |
     28 	|           |     4     |  |           +-----+-----+
     29 	|           |           |  |           |     5     |
     30 	+-----------+-----------+  +-----------+-----+-----+
     31 		4 windows                  5 windows
     32 
     33 	+-----------+---+-------+  +-----------+-----------+
     34 	|           |   |   3   |  |           |    new    |
     35 	|           | 2 +---+---+  |           +---+-------+
     36 	|           |   |   |   |  |           |   |   4   |
     37 	|     1     |   | 4 |   |  |     1     | 3 +---+---+
     38 	|           |   |   | 5 |  |           |   | 5 |   |
     39 	|           +---+---+   |  |           +---+---+ 6 |
     40 	|           |   6   |   |  |           |   7   |   |
     41 	+-----------+-------+---+  +-----------+-------+---+
     42 		6 windows                  7+ windows
     43 
     44 
     45 Usage
     46 -----
     47 1. Download the patch and apply according to the [general instructions](.).
     48 2. The patch automatically includes the `tatami.c` source file and adds `tatami` 
     49 to the `Layout` section of your `config.def.h` file. If you have already installed
     50 dwm, change config.def.h to be your config.h file.
     51 3. **Note that this patch ignores resize hints.**
     52 3. The default keybinding is [Alt]+[y] for tatami.
     53 
     54 Download
     55 --------
     56 * [dwm-tatami-6.2.diff](dwm-tatami-6.2.diff)
     57 
     58 Maintainer
     59 ----------
     60 * Sarthak Shah - <shahsarthakw@gmail.com>