tcleaned up and commented the config.*.h - dwm - [fork] customized build of dwm… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f196b71e4d543e7d8c4fd6398cf1bedd3dafc024 | |
parent ab838721345532898419f1600a31a1b69a9c0c92 | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Wed, 21 Feb 2007 11:30:52 +0100 | |
cleaned up and commented the config.*.h | |
Diffstat: | |
M config.arg.h | 30 ++++++++++++++++-------------- | |
M config.default.h | 34 ++++++++++++++++-------------… | |
M config.mk | 2 +- | |
3 files changed, 35 insertions(+), 31 deletions(-) | |
--- | |
diff --git a/config.arg.h b/config.arg.h | |
t@@ -2,6 +2,7 @@ | |
* See LICENSE file for license details. | |
*/ | |
+/* appearance */ | |
#define BORDERPX 1 | |
#define FONT "-*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*" | |
#define NORMBORDERCOLOR "#333" | |
t@@ -10,23 +11,33 @@ | |
#define SELBORDERCOLOR "#69c" | |
#define SELBGCOLOR "#555" | |
#define SELFGCOLOR "#fff" | |
- | |
-#define MASTER 600 /* per thousand */ | |
-#define MODKEY Mod1Mask | |
-#define NMASTER 1 /* clients in master a… | |
-#define SNAP 40 /* pixel */ | |
#define TOPBAR True /* False */ | |
+/* behavior */ | |
+#define SNAP 40 /* pixel */ | |
#define TAGS \ | |
const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; | |
+#define RULES \ | |
+static Rule rule[] = { \ | |
+ /* class:instance:title regex tags regex isversatile */ \ | |
+ { "Firefox", "3", False }, \ | |
+ { "Gimp", NULL, True }, \ | |
+ { "MPlayer", NULL, True }, \ | |
+ { "Acroread", NULL, True }, \ | |
+}; | |
+/* layout(s) */ | |
#define LAYOUTS \ | |
static Layout layout[] = { \ | |
/* symbol function */ \ | |
{ "[]=", tile }, /* first entry is default */ \ | |
{ "><>", versatile }, \ | |
}; | |
+#define MASTER 600 /* per thousand */ | |
+#define NMASTER 1 /* clients in master a… | |
+/* key definitions */ | |
+#define MODKEY Mod1Mask | |
#define KEYS \ | |
static Key key[] = { \ | |
/* modifier key function … | |
t@@ -86,12 +97,3 @@ static Key key[] = { \ | |
{ MODKEY|ControlMask, XK_9, toggleview, … | |
{ MODKEY|ShiftMask, XK_q, quit, … | |
}; | |
- | |
-#define RULES \ | |
-static Rule rule[] = { \ | |
- /* class:instance:title regex tags regex isversatile */ \ | |
- { "Firefox", "3", False }, \ | |
- { "Gimp", NULL, True }, \ | |
- { "MPlayer", NULL, True }, \ | |
- { "Acroread", NULL, True }, \ | |
-}; | |
diff --git a/config.default.h b/config.default.h | |
t@@ -2,6 +2,7 @@ | |
* See LICENSE file for license details. | |
*/ | |
+/* appearance */ | |
#define BORDERPX 1 | |
#define FONT "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*… | |
#define NORMBORDERCOLOR "#dddddd" | |
t@@ -10,23 +11,34 @@ | |
#define SELBORDERCOLOR "#ff0000" | |
#define SELBGCOLOR "#006699" | |
#define SELFGCOLOR "#ffffff" | |
- | |
-#define MASTER 600 /* per thousand */ | |
-#define MODKEY Mod1Mask | |
-#define NMASTER 1 /* clients in master a… | |
-#define SNAP 20 /* pixel */ | |
#define TOPBAR True /* False */ | |
+/* behavior */ | |
+#define SNAP 20 /* pixel */ | |
#define TAGS \ | |
const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; | |
+/* Query class:instance:title for regex matching info with following command: | |
+ * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { pr… | |
+#define RULES \ | |
+static Rule rule[] = { \ | |
+ /* class:instance:title regex tags regex isversatile */ \ | |
+ { "Gimp", NULL, True }, \ | |
+ { "MPlayer", NULL, True }, \ | |
+ { "Acroread", NULL, True }, \ | |
+}; | |
+/* layout(s) */ | |
#define LAYOUTS \ | |
-Layout layout[] = { \ | |
+static Layout layout[] = { \ | |
/* symbol function */ \ | |
{ "[]=", tile }, /* first entry is default */ \ | |
{ "><>", versatile }, \ | |
}; | |
+#define MASTER 600 /* per thousand */ | |
+#define NMASTER 1 /* clients in master a… | |
+/* key definitions */ | |
+#define MODKEY Mod1Mask | |
#define KEYS \ | |
static Key key[] = { \ | |
/* modifier key function … | |
t@@ -81,13 +93,3 @@ static Key key[] = { \ | |
{ MODKEY|ControlMask, XK_9, toggleview, … | |
{ MODKEY|ShiftMask, XK_q, quit, … | |
}; | |
- | |
-/* Query class:instance:title for regex matching info with following command: | |
- * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { pr… | |
-#define RULES \ | |
-static Rule rule[] = { \ | |
- /* class:instance:title regex tags regex isversatile */ \ | |
- { "Gimp", NULL, True }, \ | |
- { "MPlayer", NULL, True }, \ | |
- { "Acroread", NULL, True }, \ | |
-}; | |
diff --git a/config.mk b/config.mk | |
t@@ -1,5 +1,5 @@ | |
# dwm version | |
-VERSION = 3.6 | |
+VERSION = 3.7 | |
# Customize below to fit your system | |