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
- Download the patch and apply according to the general instructions.
- Add the
NMASTER
value to yourconfig.h
. Example fromconfig.default.h
:
#define NMASTER 2 /* clients in master area*/
- Add keybindings to
incmaster()
to yourconfig.h
. Example fromconfig.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
- nmaster-4.7.c (dwm 4.7) (7.3kb (20071123)
- nmaster.c (dwm 4.6) (7.3kb) (20071025)
- contains ntile, dntile and tilecols. Also supports the clients-per-tag
- dwm-4.4.1-nmaster.diff (dwm 4.4) (2.8kb) (20070826)
- nmaster+bstack-5.6.1.diff (dwm 5.6.1) (5.9kb) (20090824)
- another variation; contains bstack with nmaster support
Maintainer
- pancake <youterm.com>