summaryrefslogtreecommitdiff
path: root/tag.c
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-01 13:59:13 +0200
committerarg@10ksloc.org <unknown>2006-08-01 13:59:13 +0200
commita73a88280681acdab047bd11a9ba77d97d6a0b72 (patch)
tree03703345ad51ac1112cc502db4f9337d246cf533 /tag.c
parent57416beefec4db451a75a1d25434b69cf50badad (diff)
centralized/externalized configuration to config.h
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c22
1 files changed, 4 insertions, 18 deletions
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 */