From a73a88280681acdab047bd11a9ba77d97d6a0b72 Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Tue, 1 Aug 2006 13:59:13 +0200 Subject: centralized/externalized configuration to config.h --- tag.c | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) (limited to 'tag.c') diff --git a/tag.c b/tag.c index 6b7e1842..f7513c12 100644 --- a/tag.c +++ b/tag.c @@ -18,24 +18,10 @@ typedef struct { Bool isfloat; } Rule; -/* CUSTOMIZE */ -static Rule rule[] = { - /* class:instance tags isfloat */ - { "Firefox.*", { [Tnet] = "net" }, False }, - { "Gimp.*", { 0 }, True}, -}; - -char *tags[TLast] = { - [Tfnord] = "fnord", - [Tdev] = "dev", - [Tnet] = "net", - [Twork] = "work", - [Tmisc] = "misc", -}; - -void (*arrange)(Arg *) = dotile; - -/* END CUSTOMIZE */ +TAGS +RULES + +void (*arrange)(Arg *) = ARRANGE; /* extern */ -- cgit v1.2.3