summaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-13 19:55:07 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-13 19:55:07 +0200
commit3aad92202d58208c4197857d3f17c535ba0bd56a (patch)
tree9a1b23fcf9a4f8c0810d6893b217f265ebebfda6 /dwm.h
parentseveral other additions/fixes, dwm is quite usable already (diff)
downloaddwm-3aad92202d58208c4197857d3f17c535ba0bd56a.tar.gz
dwm-3aad92202d58208c4197857d3f17c535ba0bd56a.zip
new stuff
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h24
1 files changed, 16 insertions, 8 deletions
diff --git a/dwm.h b/dwm.h
index 49aa126..118ac24 100644
--- a/dwm.h
+++ b/dwm.h
@@ -7,22 +7,24 @@
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 "DarkSlateGrey" 11#define BGCOLOR "#666699"
12#define FGCOLOR "LightSteelBlue" 12#define FGCOLOR "#ffffff"
13#define BORDERCOLOR "SlateGray" 13#define BORDERCOLOR "#9999CC"
14#define WM_PROTOCOL_DELWIN 1 14#define MASTERW 52 /* percent */
15#define WM_PROTOCOL_DELWIN 1
15 16
16/* tags */ 17/* tags */
17enum { Tscratch, Tdev, Tirc, Twww, Twork, TLast }; 18enum { Tscratch, Tdev, Tirc, Twww, Twork, TLast };
18 19
19/********** CUSTOMIZE **********/ 20/********** CUSTOMIZE **********/
20 21
22typedef union Arg Arg;
21typedef struct DC DC; 23typedef struct DC DC;
22typedef struct Client Client; 24typedef struct Client Client;
23typedef struct Fnt Fnt; 25typedef struct Fnt Fnt;
24typedef struct Key Key; 26typedef struct Key Key;
25typedef union Arg Arg; 27typedef struct Rule Rule;
26 28
27union Arg { 29union Arg {
28 const char **argv; 30 const char **argv;
@@ -71,6 +73,12 @@ struct Client {
71 Client *revert; 73 Client *revert;
72}; 74};
73 75
76struct Rule {
77 const char *class;
78 const char *instance;
79 char *tags[TLast];
80};
81
74struct Key { 82struct Key {
75 unsigned long mod; 83 unsigned long mod;
76 KeySym keysym; 84 KeySym keysym;
@@ -85,8 +93,8 @@ extern Cursor cursor[CurLast];
85extern Bool running, issel; 93extern Bool running, issel;
86extern void (*handler[LASTEvent]) (XEvent *); 94extern void (*handler[LASTEvent]) (XEvent *);
87 95
88extern int tsel, screen, sx, sy, sw, sh, th; 96extern int tsel, screen, sx, sy, sw, sh, mw, th;
89extern char stext[1024], *tags[TLast]; 97extern char *tags[TLast];
90 98
91extern DC dc; 99extern DC dc;
92extern Client *clients, *sel; 100extern Client *clients, *sel;