diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-21 11:30:52 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-21 11:30:52 +0100 |
| commit | f196b71e4d543e7d8c4fd6398cf1bedd3dafc024 (patch) | |
| tree | 4a7510ffb7a2e07cad99384c0ea46b2feb44de0a /config.arg.h | |
| parent | Added tag 3.6 for changeset 75b1b25fe0d7e29400baf30568153f668324928b (diff) | |
| download | dwm-f196b71e4d543e7d8c4fd6398cf1bedd3dafc024.tar.gz dwm-f196b71e4d543e7d8c4fd6398cf1bedd3dafc024.zip | |
cleaned up and commented the config.*.h
Diffstat (limited to '')
| -rw-r--r-- | config.arg.h | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/config.arg.h b/config.arg.h index 423e935..11e7eee 100644 --- a/config.arg.h +++ b/config.arg.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | * See LICENSE file for license details. | 2 | * See LICENSE file for license details. |
| 3 | */ | 3 | */ |
| 4 | 4 | ||
| 5 | /* appearance */ | ||
| 5 | #define BORDERPX 1 | 6 | #define BORDERPX 1 |
| 6 | #define FONT "-*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*" | 7 | #define FONT "-*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*" |
| 7 | #define NORMBORDERCOLOR "#333" | 8 | #define NORMBORDERCOLOR "#333" |
| @@ -10,23 +11,33 @@ | |||
| 10 | #define SELBORDERCOLOR "#69c" | 11 | #define SELBORDERCOLOR "#69c" |
| 11 | #define SELBGCOLOR "#555" | 12 | #define SELBGCOLOR "#555" |
| 12 | #define SELFGCOLOR "#fff" | 13 | #define SELFGCOLOR "#fff" |
| 13 | |||
| 14 | #define MASTER 600 /* per thousand */ | ||
| 15 | #define MODKEY Mod1Mask | ||
| 16 | #define NMASTER 1 /* clients in master area */ | ||
| 17 | #define SNAP 40 /* pixel */ | ||
| 18 | #define TOPBAR True /* False */ | 14 | #define TOPBAR True /* False */ |
| 19 | 15 | ||
| 16 | /* behavior */ | ||
| 17 | #define SNAP 40 /* pixel */ | ||
| 20 | #define TAGS \ | 18 | #define TAGS \ |
| 21 | const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; | 19 | const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; |
| 20 | #define RULES \ | ||
| 21 | static Rule rule[] = { \ | ||
| 22 | /* class:instance:title regex tags regex isversatile */ \ | ||
| 23 | { "Firefox", "3", False }, \ | ||
| 24 | { "Gimp", NULL, True }, \ | ||
| 25 | { "MPlayer", NULL, True }, \ | ||
| 26 | { "Acroread", NULL, True }, \ | ||
| 27 | }; | ||
| 22 | 28 | ||
| 29 | /* layout(s) */ | ||
| 23 | #define LAYOUTS \ | 30 | #define LAYOUTS \ |
| 24 | static Layout layout[] = { \ | 31 | static Layout layout[] = { \ |
| 25 | /* symbol function */ \ | 32 | /* symbol function */ \ |
| 26 | { "[]=", tile }, /* first entry is default */ \ | 33 | { "[]=", tile }, /* first entry is default */ \ |
| 27 | { "><>", versatile }, \ | 34 | { "><>", versatile }, \ |
| 28 | }; | 35 | }; |
| 36 | #define MASTER 600 /* per thousand */ | ||
| 37 | #define NMASTER 1 /* clients in master area */ | ||
| 29 | 38 | ||
| 39 | /* key definitions */ | ||
| 40 | #define MODKEY Mod1Mask | ||
| 30 | #define KEYS \ | 41 | #define KEYS \ |
| 31 | static Key key[] = { \ | 42 | static Key key[] = { \ |
| 32 | /* modifier key function argument */ \ | 43 | /* modifier key function argument */ \ |
| @@ -86,12 +97,3 @@ static Key key[] = { \ | |||
| 86 | { MODKEY|ControlMask, XK_9, toggleview, { .i = 8 } }, \ | 97 | { MODKEY|ControlMask, XK_9, toggleview, { .i = 8 } }, \ |
| 87 | { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ | 98 | { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ |
| 88 | }; | 99 | }; |
| 89 | |||
| 90 | #define RULES \ | ||
| 91 | static Rule rule[] = { \ | ||
| 92 | /* class:instance:title regex tags regex isversatile */ \ | ||
| 93 | { "Firefox", "3", False }, \ | ||
| 94 | { "Gimp", NULL, True }, \ | ||
| 95 | { "MPlayer", NULL, True }, \ | ||
| 96 | { "Acroread", NULL, True }, \ | ||
| 97 | }; | ||
