Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
improved tile() for the RESIZEHINTS == True case, now more space is consumed by the...
[dwm.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
006a622
..
9271462
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-3,26
+3,26
@@
/* appearance */
#define BARPOS BarTop /* BarBot, BarOff */
#define BORDERPX 1
/* appearance */
#define BARPOS BarTop /* BarBot, BarOff */
#define BORDERPX 1
-#define FONT "-*-
terminus-medium-r-*-*-12-*-*-*-*-*-iso10646
-*"
-#define NORMBORDERCOLOR
"#333
"
-#define NORMBGCOLOR
"#000
"
-#define NORMFGCOLOR
"#ccc
"
-#define SELBORDERCOLOR
"#f00
"
-#define SELBGCOLOR
"#00f
"
-#define SELFGCOLOR
"#
fff"
+#define FONT "-*-
proggyclean-*-*-*-*-*-*-*-*-*-*-*
-*"
+#define NORMBORDERCOLOR
"#cccccc
"
+#define NORMBGCOLOR
"#dddddd
"
+#define NORMFGCOLOR
"#333333
"
+#define SELBORDERCOLOR
"#0066cc
"
+#define SELBGCOLOR
"#0066cc
"
+#define SELFGCOLOR
"#fff
fff"
/* tagging */
/* tagging */
-const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "
9
", NULL };
+const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "
www
", NULL };
Rule rules[] = {
/* class:instance:title regex tags regex isfloating */
Rule rules[] = {
/* class:instance:title regex tags regex isfloating */
- { "Firefox", "
3",
False },
+ { "Firefox", "
www",
False },
{ "Gimp", NULL, True },
{ "MPlayer", NULL, True },
{ "Acroread", NULL, True },
};
/* layout(s) */
{ "Gimp", NULL, True },
{ "MPlayer", NULL, True },
{ "Acroread", NULL, True },
};
/* layout(s) */
-#define ISTILE isarrange(tile)
+#define ISTILE isarrange(tile)
/* || isarrange(<custom>) */
#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */
#define RESIZEHINTS True /* False - respect size hints in tiled resizals */
#define SNAP 32 /* snap pixel */
#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */
#define RESIZEHINTS True /* False - respect size hints in tiled resizals */
#define SNAP 32 /* snap pixel */
@@
-40,8
+40,7
@@
Key keys[] = { \
{ MODKEY, XK_p, spawn, \
"exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \
" -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \
{ MODKEY, XK_p, spawn, \
"exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \
" -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \
- { MODKEY|ShiftMask, XK_Return, spawn, \
- "exec xterm -bg '"NORMBGCOLOR"' -fg '"NORMFGCOLOR"' -cr '"NORMFGCOLOR"' +sb -fn '"FONT"'" }, \
+ { MODKEY|ShiftMask, XK_Return, spawn, "exec xterm" }, \
{ MODKEY, XK_space, setlayout, NULL }, \
{ MODKEY, XK_b, togglebar, NULL }, \
{ MODKEY, XK_j, focusnext, NULL }, \
{ MODKEY, XK_space, setlayout, NULL }, \
{ MODKEY, XK_b, togglebar, NULL }, \
{ MODKEY, XK_j, focusnext, NULL }, \