From 2b5553b1ebf7c8e59b5ecf7128b932115ff2b313 Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Thu, 20 Jul 2006 15:17:52 +0200 Subject: [PATCH] cleaned the CUSTOMIZE flags --- dwm.h | 4 ++-- event.c | 2 ++ tag.c | 8 +++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/dwm.h b/dwm.h index 1529d17..e72bca2 100644 --- a/dwm.h +++ b/dwm.h @@ -5,7 +5,7 @@ #include -/********** CUSTOMIZE **********/ +/* CUSTOMIZE */ #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" #define BGCOLOR "#0a2c2d" @@ -23,7 +23,7 @@ /* tags */ enum { Tscratch, Tdev, Twww, Twork, TLast }; -/********** CUSTOMIZE **********/ +/* END CUSTOMIZE */ typedef union Arg Arg; typedef struct Client Client; diff --git a/event.c b/event.c index 5d7c8a7..a0b3c0e 100644 --- a/event.c +++ b/event.c @@ -59,6 +59,8 @@ static Key key[] = { { MODKEY|ShiftMask, XK_Return, spawn, { .argv = term } }, }; +/* END CUSTOMIZE */ + /* static */ static void diff --git a/tag.c b/tag.c index d6c349b..5da3c31 100644 --- a/tag.c +++ b/tag.c @@ -25,17 +25,19 @@ static Rule rule[] = { { "Gimp.*", { 0 }, True}, }; -/* extern */ - -/* CUSTOMIZE */ char *tags[TLast] = { [Tscratch] = "scratch", [Tdev] = "dev", [Twww] = "www", [Twork] = "work", }; + void (*arrange)(Arg *) = dotile; +/* END CUSTOMIZE */ + +/* extern */ + void appendtag(Arg *arg) {