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.default.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 'config.default.h')
| -rw-r--r-- | config.default.h | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/config.default.h b/config.default.h index b29d1a4..eb6933b 100644 --- a/config.default.h +++ b/config.default.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 "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*" | 7 | #define FONT "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*" |
| 7 | #define NORMBORDERCOLOR "#dddddd" | 8 | #define NORMBORDERCOLOR "#dddddd" |
| @@ -10,23 +11,34 @@ | |||
| 10 | #define SELBORDERCOLOR "#ff0000" | 11 | #define SELBORDERCOLOR "#ff0000" |
| 11 | #define SELBGCOLOR "#006699" | 12 | #define SELBGCOLOR "#006699" |
| 12 | #define SELFGCOLOR "#ffffff" | 13 | #define SELFGCOLOR "#ffffff" |
| 13 | |||
| 14 | #define MASTER 600 /* per thousand */ | ||
| 15 | #define MODKEY Mod1Mask | ||
| 16 | #define NMASTER 1 /* clients in master area */ | ||
| 17 | #define SNAP 20 /* pixel */ | ||
| 18 | #define TOPBAR True /* False */ | 14 | #define TOPBAR True /* False */ |
| 19 | 15 | ||
| 16 | /* behavior */ | ||
| 17 | #define SNAP 20 /* 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 | /* Query class:instance:title for regex matching info with following command: | ||
| 21 | * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */ | ||
| 22 | #define RULES \ | ||
| 23 | static Rule rule[] = { \ | ||
| 24 | /* class:instance:title regex tags regex isversatile */ \ | ||
| 25 | { "Gimp", NULL, True }, \ | ||
| 26 | { "MPlayer", NULL, True }, \ | ||
| 27 | { "Acroread", NULL, True }, \ | ||
| 28 | }; | ||
| 22 | 29 | ||
| 30 | /* layout(s) */ | ||
| 23 | #define LAYOUTS \ | 31 | #define LAYOUTS \ |
| 24 | Layout layout[] = { \ | 32 | static Layout layout[] = { \ |
| 25 | /* symbol function */ \ | 33 | /* symbol function */ \ |
| 26 | { "[]=", tile }, /* first entry is default */ \ | 34 | { "[]=", tile }, /* first entry is default */ \ |
| 27 | { "><>", versatile }, \ | 35 | { "><>", versatile }, \ |
| 28 | }; | 36 | }; |
| 37 | #define MASTER 600 /* per thousand */ | ||
| 38 | #define NMASTER 1 /* clients in master area */ | ||
| 29 | 39 | ||
| 40 | /* key definitions */ | ||
| 41 | #define MODKEY Mod1Mask | ||
| 30 | #define KEYS \ | 42 | #define KEYS \ |
| 31 | static Key key[] = { \ | 43 | static Key key[] = { \ |
| 32 | /* modifier key function argument */ \ | 44 | /* modifier key function argument */ \ |
| @@ -81,13 +93,3 @@ static Key key[] = { \ | |||
| 81 | { MODKEY|ControlMask, XK_9, toggleview, { .i = 8 } }, \ | 93 | { MODKEY|ControlMask, XK_9, toggleview, { .i = 8 } }, \ |
| 82 | { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ | 94 | { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ |
| 83 | }; | 95 | }; |
| 84 | |||
| 85 | /* Query class:instance:title for regex matching info with following command: | ||
| 86 | * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */ | ||
| 87 | #define RULES \ | ||
| 88 | static Rule rule[] = { \ | ||
| 89 | /* class:instance:title regex tags regex isversatile */ \ | ||
| 90 | { "Gimp", NULL, True }, \ | ||
| 91 | { "MPlayer", NULL, True }, \ | ||
| 92 | { "Acroread", NULL, True }, \ | ||
| 93 | }; | ||
