renamed maximise to monocle again. 2e38296e
Anselm R Garbe · 2008-03-05 10:31 3 file(s) · +7 −18
config.def.h +2 −4
31 31
	/* symbol		function */
32 32
	{ "[]=",		tile }, /* first entry is default */
33 33
	{ "><>",		floating },
34 -
	{ "[M]",		maximise },
34 +
	{ "[M]",		monocle },
35 35
};
36 36
37 37
/* key definitions */
42 42
		"exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },
43 43
	{ MODKEY|ShiftMask,		XK_Return,	spawn, "exec uxterm" },
44 44
	{ MODKEY,			XK_b,		togglebar,	NULL },
45 -
	{ MODKEY,			XK_t,		setlayout,	"[]=" },
46 -
	{ MODKEY,			XK_f,		setlayout,	"><>" },
47 -
	{ MODKEY,			XK_m	,	setlayout,	"[M]" },
48 45
	{ MODKEY,			XK_j,		focusnext,	NULL },
49 46
	{ MODKEY,			XK_k,		focusprev,	NULL },
50 47
	{ MODKEY,			XK_h,		setmwfact,	"-0.05" },
52 49
	{ MODKEY,			XK_r,		reapply,	NULL },
53 50
	{ MODKEY,			XK_Return,	zoom,		NULL },
54 51
	{ MODKEY,			XK_Tab,		viewprevtag,	NULL },
52 +
	{ MODKEY,			XK_space,	setlayout,	NULL },
55 53
	{ MODKEY|ShiftMask,		XK_space,	togglefloating,	NULL },
56 54
	{ MODKEY|ShiftMask,		XK_c,		killclient,	NULL },
57 55
	{ MODKEY,			XK_0,		view,		NULL },
dwm.1 +2 −11
5 5
.B dwm
6 6
.RB [ \-v ]
7 7
.SH DESCRIPTION
8 -
dwm is a dynamic window manager for X. It manages windows in tiled, maximised
8 +
dwm is a dynamic window manager for X. It manages windows in tiled, monocle
9 9
and floating layouts. Either layout can be applied dynamically, optimising the
10 10
environment for the application in use and the task performed.
11 11
.P
12 12
In tiled layout windows are managed in a master and stacking area. The master
13 13
area contains the window which currently needs most attention, whereas the
14 -
stacking area contains all other windows. In maximised layout all windows are
14 +
stacking area contains all other windows. In monocle layout all windows are
15 15
maximised to the screen size. In floating layout windows can be resized and
16 16
moved freely. Dialog windows are always managed floating, regardless of the
17 17
layout applied.
62 62
.TP
63 63
.B Mod1\-Tab
64 64
Toggles to the previously selected tags.
65 -
.TP
66 -
.B Mod1\-t
67 -
Applies tiled layout.
68 -
.TP
69 -
.B Mod1\-f
70 -
Applies loating layout.
71 -
.TP
72 -
.B Mod1\-m
73 -
Applies maximised layout.
74 65
.TP
75 66
.B Mod1\-space
76 67
Toggles between layouts.
dwm.c +3 −3
44 44
 * TODO: Idea:
45 45
 * I intend to not provide real Xinerama support, but instead having a Column
46 46
 * tilecols[] array which is used by tile(), and a Column maxcols[] arrays which is used by
47 -
 * maximise(). Those arrays should be initialized in config.h. For simplicity
47 +
 * monocle(). Those arrays should be initialized in config.h. For simplicity
48 48
 * reasons mwfact should be replaced with a more advanced method which
49 49
 * implements the same, but using the boundary between tilecols[0] and
50 50
 * tilecols[1] instead. Besides this, get rid of BARPOS and use instead the
172 172
void manage(Window w, XWindowAttributes *wa);
173 173
void mappingnotify(XEvent *e);
174 174
void maprequest(XEvent *e);
175 -
void maximise(void);
175 +
void monocle(void);
176 176
void movemouse(Client *c);
177 177
Client *nexttiled(Client *c);
178 178
void propertynotify(XEvent *e);
1086 1086
}
1087 1087
1088 1088
void
1089 -
maximise(void) {
1089 +
monocle(void) {
1090 1090
	Client *c;
1091 1091
1092 1092
	domwfact = dozoom = False;