Re: [dwm] nmaster patch

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Thu, 11 Jan 2007 13:49:27 +0100

On Thu, Jan 11, 2007 at 12:28:36PM +0100, y i y u s wrote:
> This is a very simple patch which doesn't add any line of code (except
> one unnecesary line in config.h to define a new tile symbol). It
> allows having an nmaster == 0, so all your windows are in the stack
> having all the width of the screen and the same height. I don't really
> use widelayout or all my clients in master area, but just noticed this
> way we have the same behaviour and somebody could find it interesting.
> It would be necesary to add one or two lines of code in incnmaster to
> being able to set this mode with just one keystroke (i think).
> Id like to see some comments.
>
> Note: add to your config.h
> #define NOMSYMBOL "[==]"
> or whatever you like, else you will have a compilation error. If you
> don't want a new symbol and prefer "[0]=" keep your actual
> updatemodetext()

I also got the same idea yesterday and implemented it similiar
to yours, except that I think defining yet another symbol is
insane. See hg tip for details.

Regards,

-- 
 Anselm R. Garbe >< http://suckless.org/~arg/ >< GPG key: 0D73F361
Received on Thu Jan 11 2007 - 13:49:27 UTC

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