diff options
| author | arg@10ksloc.org <unknown> | 2006-07-20 15:17:52 +0200 |
|---|---|---|
| committer | arg@10ksloc.org <unknown> | 2006-07-20 15:17:52 +0200 |
| commit | 2b5553b1ebf7c8e59b5ecf7128b932115ff2b313 (patch) | |
| tree | 756e292c34b67d1a623226db09b2be75e6d76ec7 | |
| parent | made status bar drawing more robust, implemented togglemax and togglemode, wo... (diff) | |
| download | dwm-2b5553b1ebf7c8e59b5ecf7128b932115ff2b313.tar.gz dwm-2b5553b1ebf7c8e59b5ecf7128b932115ff2b313.zip | |
cleaned the CUSTOMIZE flags
| -rw-r--r-- | dwm.h | 4 | ||||
| -rw-r--r-- | event.c | 2 | ||||
| -rw-r--r-- | tag.c | 8 |
3 files changed, 9 insertions, 5 deletions
| @@ -5,7 +5,7 @@ | |||
| 5 | 5 | ||
| 6 | #include <X11/Xlib.h> | 6 | #include <X11/Xlib.h> |
| 7 | 7 | ||
| 8 | /********** CUSTOMIZE **********/ | 8 | /* CUSTOMIZE */ |
| 9 | 9 | ||
| 10 | #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" | 10 | #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" |
| 11 | #define BGCOLOR "#0a2c2d" | 11 | #define BGCOLOR "#0a2c2d" |
| @@ -23,7 +23,7 @@ | |||
| 23 | /* tags */ | 23 | /* tags */ |
| 24 | enum { Tscratch, Tdev, Twww, Twork, TLast }; | 24 | enum { Tscratch, Tdev, Twww, Twork, TLast }; |
| 25 | 25 | ||
| 26 | /********** CUSTOMIZE **********/ | 26 | /* END CUSTOMIZE */ |
| 27 | 27 | ||
| 28 | typedef union Arg Arg; | 28 | typedef union Arg Arg; |
| 29 | typedef struct Client Client; | 29 | typedef struct Client Client; |
| @@ -59,6 +59,8 @@ static Key key[] = { | |||
| 59 | { MODKEY|ShiftMask, XK_Return, spawn, { .argv = term } }, | 59 | { MODKEY|ShiftMask, XK_Return, spawn, { .argv = term } }, |
| 60 | }; | 60 | }; |
| 61 | 61 | ||
| 62 | /* END CUSTOMIZE */ | ||
| 63 | |||
| 62 | /* static */ | 64 | /* static */ |
| 63 | 65 | ||
| 64 | static void | 66 | static void |
| @@ -25,17 +25,19 @@ static Rule rule[] = { | |||
| 25 | { "Gimp.*", { 0 }, True}, | 25 | { "Gimp.*", { 0 }, True}, |
| 26 | }; | 26 | }; |
| 27 | 27 | ||
| 28 | /* extern */ | ||
| 29 | |||
| 30 | /* CUSTOMIZE */ | ||
| 31 | char *tags[TLast] = { | 28 | char *tags[TLast] = { |
| 32 | [Tscratch] = "scratch", | 29 | [Tscratch] = "scratch", |
| 33 | [Tdev] = "dev", | 30 | [Tdev] = "dev", |
| 34 | [Twww] = "www", | 31 | [Twww] = "www", |
| 35 | [Twork] = "work", | 32 | [Twork] = "work", |
| 36 | }; | 33 | }; |
| 34 | |||
| 37 | void (*arrange)(Arg *) = dotile; | 35 | void (*arrange)(Arg *) = dotile; |
| 38 | 36 | ||
| 37 | /* END CUSTOMIZE */ | ||
| 38 | |||
| 39 | /* extern */ | ||
| 40 | |||
| 39 | void | 41 | void |
| 40 | appendtag(Arg *arg) | 42 | appendtag(Arg *arg) |
| 41 | { | 43 | { |
