Re: [dwm] nmaster patch

From: Anthony Brown <agabrown_AT_xs4all.nl>
Date: Thu, 11 Jan 2007 15:26:18 +0100

On Thu, Jan 11, 2007 at 01:49:27PM +0100, Anselm R. Garbe wrote:
> 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.
>

Very cool, I especially like the fact that a simple scrolling of the
mouse wheel can change the layout between 'vertical' and 'horizontal'
windows.

thanks!
Anthony
Received on Thu Jan 11 2007 - 15:30:46 UTC

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