[dev] [DWM]initialize tags

2010-10-25 Thread Scott
I have got dwm configured with the push,cycle,resize and pertag
patches, but now I'd like every single tag to have it's own default
layout. I've tried to following, but it doesn't work correct.

 /* init layouts */
 for(m = mons; m; m = m->next) {
  for(i=0; i < LENGTH(tags) + 1; i++) {
m->lts[i] = initlayouts[i] && initlayouts[i] < LENGTH(layouts) ? &layouts$
  }
 }

But for some reason this doesn't work. I want the second and third tag
(Browser, and Chat) to use layout two by default, but in order to
achieve this I have to configure it as the following:
static const int  initlayouts[] = { 0, 0, 2, 2, 0, 0 };

that doesn't really make sense since this is my tag config:
static const char *tags[] = { "Dev", "Browsing", "Chat", "Multimedia",
"Virtualization", "Misc" };

Could someone please tell me what it should be?

config.h: http://pastie.org/private/gszqqcftgbnhd2vij3a9g
dwm.c: http://pastie.org/private/oy4f5hyhnrhqqkv2fq56a #1560



Re: [dev] wmii and dual head setup

2010-10-25 Thread Michael

On 23/10/2010 16:16, Benjamin Cathey wrote:

Michael

I use wmii every day on a dual-head system (with it also on a third head
external monitor connected to a netbook w/synergy). It works great for
me. I have never had a problem with it.



I'll give it a try then, thanks!
Michael