diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 19:55:07 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 19:55:07 +0200 |
commit | 3aad92202d58208c4197857d3f17c535ba0bd56a (patch) | |
tree | 9a1b23fcf9a4f8c0810d6893b217f265ebebfda6 /dwm.h | |
parent | efa7e514012865fcb3e9ea6e7d5b5c87d84353e5 (diff) |
new stuff
Diffstat (limited to 'dwm.h')
-rw-r--r-- | dwm.h | 24 |
1 files changed, 16 insertions, 8 deletions
@@ -7,22 +7,24 @@ /********** CUSTOMIZE **********/ -#define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" -#define BGCOLOR "DarkSlateGrey" -#define FGCOLOR "LightSteelBlue" -#define BORDERCOLOR "SlateGray" -#define WM_PROTOCOL_DELWIN 1 +#define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" +#define BGCOLOR "#666699" +#define FGCOLOR "#ffffff" +#define BORDERCOLOR "#9999CC" +#define MASTERW 52 /* percent */ +#define WM_PROTOCOL_DELWIN 1 /* tags */ enum { Tscratch, Tdev, Tirc, Twww, Twork, TLast }; /********** CUSTOMIZE **********/ +typedef union Arg Arg; typedef struct DC DC; typedef struct Client Client; typedef struct Fnt Fnt; typedef struct Key Key; -typedef union Arg Arg; +typedef struct Rule Rule; union Arg { const char **argv; @@ -71,6 +73,12 @@ struct Client { Client *revert; }; +struct Rule { + const char *class; + const char *instance; + char *tags[TLast]; +}; + struct Key { unsigned long mod; KeySym keysym; @@ -85,8 +93,8 @@ extern Cursor cursor[CurLast]; extern Bool running, issel; extern void (*handler[LASTEvent]) (XEvent *); -extern int tsel, screen, sx, sy, sw, sh, th; -extern char stext[1024], *tags[TLast]; +extern int tsel, screen, sx, sy, sw, sh, mw, th; +extern char *tags[TLast]; extern DC dc; extern Client *clients, *sel; |