nmaster patch

Description

This patch restores the ability to have multiple clients in the master area of the tiled layout. This feature was dropped from vanilla dwm in version 4.4.

See nmaster.c header documentation for installing this patch with tilecols and clientspertag for dwm 4.6.

ntile         (-|=)
+----------+------+
|          |      |
|          +------+
|----------|      |
|          +------+
|          |      |
+----------+------+

Note: The nmaster.c (patch for dwm 4.6) mixes the clientspertag patch together with another layout called tilecols.

Usage

  1. Download the patch and apply according to the general instructions.
  2. Add the NMASTER value to your config.h. Example from config.default.h:
#define NMASTER          2 /* clients in master area*/
  1. Add keybindings to incmaster() to your config.h. Example from config.default.h:
{ MODKEY|ShiftMask,       XK_k,       incnmaster,    "-1" }, \
{ MODKEY|ShiftMask,       XK_j,       incnmaster,    "1" }, \

The nmaster patch for dwm 4.6 (current development hg branch) installation is far more simple. Installation instructions are placed on the top of the .c file.

The nmaster patch for dwm 4.6 adds two new layouts called ntile (classic) and dntile (dinamic).

Download

Maintainer