dwm

dynamic window manager
git clone git://git.suckless.org/dwm
Log | Files | Refs | README | LICENSE

commit 2b5553b1ebf7c8e59b5ecf7128b932115ff2b313
parent 4688ad181da14be36e034918580ec0ce5968ffdb
Author: arg@10ksloc.org <unknown>
Date:   Thu, 20 Jul 2006 15:17:52 +0200

cleaned the CUSTOMIZE flags

Diffstat:
Mdwm.h | 4++--
Mevent.c | 2++
Mtag.c | 8+++++---
3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/dwm.h b/dwm.h @@ -5,7 +5,7 @@ #include <X11/Xlib.h> -/********** 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 @@ -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 @@ -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) {