sites

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

index.md (1792B)


      1 nmaster patch
      2 =============
      3 
      4 Description
      5 -----------
      6 This patch restores the ability to have multiple clients in the master area of
      7 the tiled layout. This feature was dropped from vanilla dwm in version 4.4.
      8 
      9 See nmaster.c header documentation for installing this patch with tilecols
     10 and clientspertag for dwm 4.6.
     11 
     12 	ntile         (-|=)
     13 	+----------+------+
     14 	|          |      |
     15 	|          +------+
     16 	|----------|      |
     17 	|          +------+
     18 	|          |      |
     19 	+----------+------+
     20 
     21 Note: The nmaster.c (patch for dwm 4.6) mixes the clientspertag patch together
     22 with another layout called tilecols.
     23 
     24 Usage
     25 -----
     26 1. Download the patch and apply according to the [general instructions](.).
     27 2. Add the `NMASTER` value to your `config.h`.
     28    Example from `config.default.h`:
     29 
     30 	#define NMASTER          2 /* clients in master area*/
     31 
     32 3. Add keybindings to `incmaster()` to your `config.h`.
     33    Example from `config.default.h`:
     34 
     35 	{ MODKEY|ShiftMask,       XK_k,       incnmaster,    "-1" }, \
     36 	{ MODKEY|ShiftMask,       XK_j,       incnmaster,    "1" }, \
     37 
     38 The nmaster patch for dwm 4.6 (current development hg branch) installation is
     39 far more simple. Installation instructions are placed on the top of the .c
     40 file.
     41 
     42 The nmaster patch for dwm 4.6 adds two new layouts called ntile (classic) and
     43 dntile (dinamic).
     44 
     45 Download
     46 --------
     47 * [nmaster-4.7.c](nmaster-4.7.c) (dwm 4.7) (7.3kb (20071123)
     48 * [nmaster.c](nmaster.c) (dwm 4.6) (7.3kb) (20071025)
     49   * contains ntile, dntile and tilecols. Also supports the clients-per-tag
     50 * [dwm-4.4.1-nmaster.diff](dwm-4.4.1-nmaster.diff) (dwm 4.4) (2.8kb) (20070826)
     51 * [nmaster+bstack-5.6.1.diff](nmaster+bstack-5.6.1.diff) (dwm 5.6.1) (5.9kb) (20090824)
     52   * another variation; contains bstack with nmaster support
     53 
     54 Maintainer
     55 ----------
     56 * pancake <youterm.com>