[wiki] [sites] Tatami layout patch for dwm: Updated the description, fixed an error in the fifth and sixth diagram || Sarthak Shah
commit e1798e7034ced4b2028a457a1fb397cd6559ee29
Author: Sarthak Shah <shahsarthakw_AT_gmail.com>
Date: Fri Sep 25 15:02:51 2020 +0000
Tatami layout patch for dwm:
Updated the description, fixed an error in the fifth and sixth diagram
Changes to be committed:
modified: dwm.suckless.org/patches/tatami/index.md
diff --git a/dwm.suckless.org/patches/tatami/index.md b/dwm.suckless.org/patches/tatami/index.md
index db90a86e..b3e285b3 100644
--- a/dwm.suckless.org/patches/tatami/index.md
+++ b/dwm.suckless.org/patches/tatami/index.md
_AT_@ -31,31 +31,24 @@ stack as shown in the `7+ windows` diagram below.
4 windows 5 windows
+-----------+---+-------+ +-----------+-----------+
- | | | 3 | | | new |
- | | 2 +---+---+ | +---+-------+
- | | | | | | | | 4 |
- | 1 | | 4 | | | 1 | 3 +---+---+
- | | | | 5 | | | | 5 | |
- | +---+---+ | | +---+---+ 6 |
- | | 6 | | | | 7 | |
- +-----------+-------+---+ +-----------+-------+---+
+ | | | 3 | | | new |
+ | | 2 +---+---+ | +---+-------+
+ | | | | | | | | 4 |
+ | 1 | | 4 | | | 1 | 3 +---+---+
+ | | | | 5 | | | | 5 | |
+ | +---+---+ | | +---+---+ 6 |
+ | | 6 | | | | 7 | |
+ +-----------+-------+---+ +-----------+-------+---+
6 windows 7+ windows
Usage
-----
1. Download the patch and apply according to the [general instructions](.).
-2. Include the `tatami.c` source file and add `tatami` to the `Layout`
- section of your `config.h` file. Example from `config.default.h`:
-
- #include "tatami.c"
- static Layout layout[] = {
- /* symbol function */
- { "[]=", tile }, /* first entry is default */
- { "><>", floating },
- { "|+|", tatami },
- };
-
+2. The patch automatically includes the `tatami.c` source file and adds `tatami`
+to the `Layout` section of your `config.def.h` file. If you have already installed
+dwm, change config.def.h to be your config.h file.
+3. **Note that this patch ignores resize hints.**
3. The default keybinding is [Alt]+[y] for tatami.
Download
Received on Fri Sep 25 2020 - 17:10:39 CEST
This archive was generated by hypermail 2.3.0
: Fri Sep 25 2020 - 17:12:47 CEST