Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
I prefer two master windows by default
[dwm.git]
/
config.default.h
diff --git
a/config.default.h
b/config.default.h
index
077c337
..
2015177
100644
(file)
--- a/
config.default.h
+++ b/
config.default.h
@@
-1,4
+1,4
@@
-/* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
+/* (C)opyright MMVI
-MMVII
Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
*/
* See LICENSE file for license details.
*/
@@
-9,7
+9,7
@@
const char *tags[] = { "1", "2", "3", "4", "5", NULL };
#define FLOATSYMBOL "><>"
#define TILESYMBOL "[]="
#define FLOATSYMBOL "><>"
#define TILESYMBOL "[]="
-#define FONT "
fixed
"
+#define FONT "
-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*
"
#define NORMBGCOLOR "#333366"
#define NORMFGCOLOR "#cccccc"
#define SELBGCOLOR "#666699"
#define NORMBGCOLOR "#333366"
#define NORMFGCOLOR "#cccccc"
#define SELBGCOLOR "#666699"
@@
-19,6
+19,7
@@
const char *tags[] = { "1", "2", "3", "4", "5", NULL };
#define MASTER 600 /* per thousand */
#define MODKEY Mod1Mask
#define MASTER 600 /* per thousand */
#define MODKEY Mod1Mask
+#define NMASTER 1 /* clients in master area */
#define SNAP 20 /* pixel */
#define KEYS \
#define SNAP 20 /* pixel */
#define KEYS \
@@
-30,6
+31,9
@@
static Key key[] = { \
{ MODKEY, XK_Return, zoom, { 0 } }, \
{ MODKEY, XK_g, resizemaster, { .i = 15 } }, \
{ MODKEY, XK_s, resizemaster, { .i = -15 } }, \
{ MODKEY, XK_Return, zoom, { 0 } }, \
{ MODKEY, XK_g, resizemaster, { .i = 15 } }, \
{ MODKEY, XK_s, resizemaster, { .i = -15 } }, \
+ { MODKEY, XK_plus, incnmaster, { .i = 1 } }, \
+ { MODKEY, XK_minus, incnmaster, { .i = -1 } }, \
+ { MODKEY|ShiftMask, XK_0, tag, { .i = -1 } }, \
{ MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \
{ MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \
{ MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \
{ MODKEY|ShiftMask, XK_1, tag, { .i = 0 } }, \
{ MODKEY|ShiftMask, XK_2, tag, { .i = 1 } }, \
{ MODKEY|ShiftMask, XK_3, tag, { .i = 2 } }, \
@@
-43,7
+47,7
@@
static Key key[] = { \
{ MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
{ MODKEY, XK_space, togglemode, { 0 } }, \
{ MODKEY|ShiftMask, XK_space, togglefloat, { 0 } }, \
{ MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
{ MODKEY, XK_space, togglemode, { 0 } }, \
{ MODKEY|ShiftMask, XK_space, togglefloat, { 0 } }, \
- { MODKEY, XK_0, view
all, { 0
} }, \
+ { MODKEY, XK_0, view
, { .i = -1
} }, \
{ MODKEY, XK_1, view, { .i = 0 } }, \
{ MODKEY, XK_2, view, { .i = 1 } }, \
{ MODKEY, XK_3, view, { .i = 2 } }, \
{ MODKEY, XK_1, view, { .i = 0 } }, \
{ MODKEY, XK_2, view, { .i = 1 } }, \
{ MODKEY, XK_3, view, { .i = 2 } }, \