Re: [dwm] dwm-2.9

From: Anselm R. Garbe <>
Date: Mon, 8 Jan 2007 17:40:42 +0100

On Mon, Jan 08, 2007 at 03:57:02PM +0100, Antoni Grzymala wrote:
> And I think an indicator of some sort will make it easier (perhaps some
> quick visual clue instead of a number? like [***]=, just occured to me
> that it might be easier for quick communication. You just see the
> number, you don't have to read the arabic numeral :)).

Don't make the things too complex. I changed hg tip accordingly
to allow the following:

#define TILESYMBOL "[%u]="

Now the mode label is rendered based on the newly introduced
mtext, which is updated whenever nmaster or arrange changes as

snprintf(mtext, sizeof mtext, arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, nmaster);

This change will be part of the dwm-3.0 release.


 Anselm R. Garbe >< >< GPG key: 0D73F361
Received on Mon Jan 08 2007 - 17:40:42 UTC

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