summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.arg.h30
-rw-r--r--config.default.h34
-rw-r--r--config.mk2
3 files changed, 35 insertions, 31 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 \
21const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; 19const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
20#define RULES \
21static 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 \
24static Layout layout[] = { \ 31static 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 \
31static Key key[] = { \ 42static 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 \
91static 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};
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 \
21const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; 19const 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 \
23static 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 \
24Layout layout[] = { \ 32static 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 \
31static Key key[] = { \ 43static 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 \
88static Rule rule[] = { \
89 /* class:instance:title regex tags regex isversatile */ \
90 { "Gimp", NULL, True }, \
91 { "MPlayer", NULL, True }, \
92 { "Acroread", NULL, True }, \
93};
diff --git a/config.mk b/config.mk
index d3a6ffd..a41fe8e 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
1# dwm version 1# dwm version
2VERSION = 3.6 2VERSION = 3.7
3 3
4# Customize below to fit your system 4# Customize below to fit your system
5 5