aewl

diff tag.c @ 146:f328ce9c558c

centralized/externalized configuration to config.h
author arg@10ksloc.org
date Tue, 01 Aug 2006 13:59:13 +0200
parents e61447a7f249
children 9bd8a1a50464
line diff
     1.1 --- a/tag.c	Tue Aug 01 12:41:38 2006 +0200
     1.2 +++ b/tag.c	Tue Aug 01 13:59:13 2006 +0200
     1.3 @@ -18,24 +18,10 @@
     1.4  	Bool isfloat;
     1.5  } Rule;
     1.6  
     1.7 -/* CUSTOMIZE */ 
     1.8 -static Rule rule[] = {
     1.9 -	/* class:instance	tags				isfloat */
    1.10 -	{ "Firefox.*",		{ [Tnet] = "net" },		False },
    1.11 -	{ "Gimp.*",		{ 0 },				True},
    1.12 -};
    1.13 +TAGS
    1.14 +RULES
    1.15  
    1.16 -char *tags[TLast] = {
    1.17 -	[Tfnord] = "fnord",
    1.18 -	[Tdev] = "dev",
    1.19 -	[Tnet] = "net",
    1.20 -	[Twork] = "work",
    1.21 -	[Tmisc] = "misc",
    1.22 -};
    1.23 -
    1.24 -void (*arrange)(Arg *) = dotile;
    1.25 -
    1.26 -/* END CUSTOMIZE */
    1.27 +void (*arrange)(Arg *) = ARRANGE;
    1.28  
    1.29  /* extern */
    1.30