cleaned the CUSTOMIZE flags

This commit is contained in:
arg@10ksloc.org 2006-07-20 15:17:52 +02:00
parent 4688ad181d
commit 2b5553b1eb
3 changed files with 9 additions and 5 deletions

4
dwm.h
View file

@ -5,7 +5,7 @@
#include <X11/Xlib.h> #include <X11/Xlib.h>
/********** CUSTOMIZE **********/ /* CUSTOMIZE */
#define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*"
#define BGCOLOR "#0a2c2d" #define BGCOLOR "#0a2c2d"
@ -23,7 +23,7 @@
/* tags */ /* tags */
enum { Tscratch, Tdev, Twww, Twork, TLast }; enum { Tscratch, Tdev, Twww, Twork, TLast };
/********** CUSTOMIZE **********/ /* END CUSTOMIZE */
typedef union Arg Arg; typedef union Arg Arg;
typedef struct Client Client; typedef struct Client Client;

View file

@ -59,6 +59,8 @@ static Key key[] = {
{ MODKEY|ShiftMask, XK_Return, spawn, { .argv = term } }, { MODKEY|ShiftMask, XK_Return, spawn, { .argv = term } },
}; };
/* END CUSTOMIZE */
/* static */ /* static */
static void static void

8
tag.c
View file

@ -25,17 +25,19 @@ static Rule rule[] = {
{ "Gimp.*", { 0 }, True}, { "Gimp.*", { 0 }, True},
}; };
/* extern */
/* CUSTOMIZE */
char *tags[TLast] = { char *tags[TLast] = {
[Tscratch] = "scratch", [Tscratch] = "scratch",
[Tdev] = "dev", [Tdev] = "dev",
[Twww] = "www", [Twww] = "www",
[Twork] = "work", [Twork] = "work",
}; };
void (*arrange)(Arg *) = dotile; void (*arrange)(Arg *) = dotile;
/* END CUSTOMIZE */
/* extern */
void void
appendtag(Arg *arg) appendtag(Arg *arg)
{ {