[dwm] dinamic nmaster patch

From: pancake <pancake_AT_youterm.com>
Date: Fri, 19 Oct 2007 04:28:45 +0200

I have ported nmaster to fit the latest changes in the mercurial repo.

Now nmaster contains two layouts:

  - ntile - classic nmaster layout
  - dntile - dinamic nmaster layout

The dinamic nmaster follow this rules:

        /* dynamic nmaster */
        if (n<5) inc = 0;
        else if (n<7) inc = 1;
        else inc = 2;

I find quite comfortable with this configuration
and you can actually define a horitzontal split
and use incnmaster() to change this configuration.

Let me know what do you think about it.

Wiki has been updated.

Fetch it from:

  http://news.nopcode.org/nmaster.c

--pancake
Received on Fri Oct 19 2007 - 02:47:08 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:00:34 UTC