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
Received on Mon Oct 25 2010 - 12:27:12 CEST
This archive was generated by hypermail 2.2.0 : Mon Oct 25 2010 - 12:36:02 CEST