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 "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 */ |
17 enum { Tscratch, Tdev, Tirc, Twww, Twork, TLast }; |
18 enum { Tscratch, Tdev, Tirc, Twww, Twork, TLast }; |
18 |
19 |
19 /********** CUSTOMIZE **********/ |
20 /********** CUSTOMIZE **********/ |
20 |
21 |
|
22 typedef union Arg Arg; |
21 typedef struct DC DC; |
23 typedef struct DC DC; |
22 typedef struct Client Client; |
24 typedef struct Client Client; |
23 typedef struct Fnt Fnt; |
25 typedef struct Fnt Fnt; |
24 typedef struct Key Key; |
26 typedef struct Key Key; |
25 typedef union Arg Arg; |
27 typedef struct Rule Rule; |
26 |
28 |
27 union Arg { |
29 union Arg { |
28 const char **argv; |
30 const char **argv; |
29 int i; |
31 int i; |
30 }; |
32 }; |
83 extern Atom wm_atom[WMLast], net_atom[NetLast]; |
91 extern Atom wm_atom[WMLast], net_atom[NetLast]; |
84 extern Cursor cursor[CurLast]; |
92 extern Cursor cursor[CurLast]; |
85 extern Bool running, issel; |
93 extern Bool running, issel; |
86 extern void (*handler[LASTEvent]) (XEvent *); |
94 extern void (*handler[LASTEvent]) (XEvent *); |
87 |
95 |
88 extern int tsel, screen, sx, sy, sw, sh, th; |
96 extern int tsel, screen, sx, sy, sw, sh, mw, th; |
89 extern char stext[1024], *tags[TLast]; |
97 extern char *tags[TLast]; |
90 |
98 |
91 extern DC dc; |
99 extern DC dc; |
92 extern Client *clients, *sel; |
100 extern Client *clients, *sel; |
93 |
101 |
94 /* client.c */ |
102 /* client.c */ |