renamed maximise to monocle again.
This commit is contained in:
		
							parent
							
								
									59aa02a075
								
							
						
					
					
						commit
						2e38296edd
					
				| @ -31,7 +31,7 @@ Layout layouts[] = { | |||||||
| 	/* symbol		function */ | 	/* symbol		function */ | ||||||
| 	{ "[]=",		tile }, /* first entry is default */ | 	{ "[]=",		tile }, /* first entry is default */ | ||||||
| 	{ "><>",		floating }, | 	{ "><>",		floating }, | ||||||
| 	{ "[M]",		maximise }, | 	{ "[M]",		monocle }, | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| /* key definitions */ | /* key definitions */ | ||||||
| @ -42,9 +42,6 @@ Key keys[] = { | |||||||
| 		"exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, | 		"exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, | ||||||
| 	{ MODKEY|ShiftMask,		XK_Return,	spawn, "exec uxterm" }, | 	{ MODKEY|ShiftMask,		XK_Return,	spawn, "exec uxterm" }, | ||||||
| 	{ MODKEY,			XK_b,		togglebar,	NULL }, | 	{ MODKEY,			XK_b,		togglebar,	NULL }, | ||||||
| 	{ MODKEY,			XK_t,		setlayout,	"[]=" }, |  | ||||||
| 	{ MODKEY,			XK_f,		setlayout,	"><>" }, |  | ||||||
| 	{ MODKEY,			XK_m	,	setlayout,	"[M]" }, |  | ||||||
| 	{ MODKEY,			XK_j,		focusnext,	NULL }, | 	{ MODKEY,			XK_j,		focusnext,	NULL }, | ||||||
| 	{ MODKEY,			XK_k,		focusprev,	NULL }, | 	{ MODKEY,			XK_k,		focusprev,	NULL }, | ||||||
| 	{ MODKEY,			XK_h,		setmwfact,	"-0.05" }, | 	{ MODKEY,			XK_h,		setmwfact,	"-0.05" }, | ||||||
| @ -52,6 +49,7 @@ Key keys[] = { | |||||||
| 	{ MODKEY,			XK_r,		reapply,	NULL }, | 	{ MODKEY,			XK_r,		reapply,	NULL }, | ||||||
| 	{ MODKEY,			XK_Return,	zoom,		NULL }, | 	{ MODKEY,			XK_Return,	zoom,		NULL }, | ||||||
| 	{ MODKEY,			XK_Tab,		viewprevtag,	NULL }, | 	{ MODKEY,			XK_Tab,		viewprevtag,	NULL }, | ||||||
|  | 	{ MODKEY,			XK_space,	setlayout,	NULL }, | ||||||
| 	{ MODKEY|ShiftMask,		XK_space,	togglefloating,	NULL }, | 	{ MODKEY|ShiftMask,		XK_space,	togglefloating,	NULL }, | ||||||
| 	{ MODKEY|ShiftMask,		XK_c,		killclient,	NULL }, | 	{ MODKEY|ShiftMask,		XK_c,		killclient,	NULL }, | ||||||
| 	{ MODKEY,			XK_0,		view,		NULL }, | 	{ MODKEY,			XK_0,		view,		NULL }, | ||||||
|  | |||||||
							
								
								
									
										13
									
								
								dwm.1
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								dwm.1
									
									
									
									
									
								
							| @ -5,13 +5,13 @@ dwm \- dynamic window manager | |||||||
| .B dwm | .B dwm | ||||||
| .RB [ \-v ] | .RB [ \-v ] | ||||||
| .SH DESCRIPTION | .SH DESCRIPTION | ||||||
| dwm is a dynamic window manager for X. It manages windows in tiled, maximised | dwm is a dynamic window manager for X. It manages windows in tiled, monocle | ||||||
| and floating layouts. Either layout can be applied dynamically, optimising the | and floating layouts. Either layout can be applied dynamically, optimising the | ||||||
| environment for the application in use and the task performed. | environment for the application in use and the task performed. | ||||||
| .P | .P | ||||||
| In tiled layout windows are managed in a master and stacking area. The master | In tiled layout windows are managed in a master and stacking area. The master | ||||||
| area contains the window which currently needs most attention, whereas the | area contains the window which currently needs most attention, whereas the | ||||||
| stacking area contains all other windows. In maximised layout all windows are | stacking area contains all other windows. In monocle layout all windows are | ||||||
| maximised to the screen size. In floating layout windows can be resized and | maximised to the screen size. In floating layout windows can be resized and | ||||||
| moved freely. Dialog windows are always managed floating, regardless of the | moved freely. Dialog windows are always managed floating, regardless of the | ||||||
| layout applied. | layout applied. | ||||||
| @ -63,15 +63,6 @@ Zooms/cycles current window to/from master area (tiled layout only). | |||||||
| .B Mod1\-Tab | .B Mod1\-Tab | ||||||
| Toggles to the previously selected tags. | Toggles to the previously selected tags. | ||||||
| .TP | .TP | ||||||
| .B Mod1\-t |  | ||||||
| Applies tiled layout. |  | ||||||
| .TP |  | ||||||
| .B Mod1\-f |  | ||||||
| Applies loating layout. |  | ||||||
| .TP |  | ||||||
| .B Mod1\-m |  | ||||||
| Applies maximised layout. |  | ||||||
| .TP |  | ||||||
| .B Mod1\-space | .B Mod1\-space | ||||||
| Toggles between layouts. | Toggles between layouts. | ||||||
| .TP | .TP | ||||||
|  | |||||||
							
								
								
									
										6
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								dwm.c
									
									
									
									
									
								
							| @ -44,7 +44,7 @@ | |||||||
|  * TODO: Idea: |  * TODO: Idea: | ||||||
|  * I intend to not provide real Xinerama support, but instead having a Column |  * I intend to not provide real Xinerama support, but instead having a Column | ||||||
|  * tilecols[] array which is used by tile(), and a Column maxcols[] arrays which is used by |  * tilecols[] array which is used by tile(), and a Column maxcols[] arrays which is used by | ||||||
|  * maximise(). Those arrays should be initialized in config.h. For simplicity |  * monocle(). Those arrays should be initialized in config.h. For simplicity | ||||||
|  * reasons mwfact should be replaced with a more advanced method which |  * reasons mwfact should be replaced with a more advanced method which | ||||||
|  * implements the same, but using the boundary between tilecols[0] and |  * implements the same, but using the boundary between tilecols[0] and | ||||||
|  * tilecols[1] instead. Besides this, get rid of BARPOS and use instead the |  * tilecols[1] instead. Besides this, get rid of BARPOS and use instead the | ||||||
| @ -172,7 +172,7 @@ void killclient(const char *arg); | |||||||
| void manage(Window w, XWindowAttributes *wa); | void manage(Window w, XWindowAttributes *wa); | ||||||
| void mappingnotify(XEvent *e); | void mappingnotify(XEvent *e); | ||||||
| void maprequest(XEvent *e); | void maprequest(XEvent *e); | ||||||
| void maximise(void); | void monocle(void); | ||||||
| void movemouse(Client *c); | void movemouse(Client *c); | ||||||
| Client *nexttiled(Client *c); | Client *nexttiled(Client *c); | ||||||
| void propertynotify(XEvent *e); | void propertynotify(XEvent *e); | ||||||
| @ -1086,7 +1086,7 @@ maprequest(XEvent *e) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void | void | ||||||
| maximise(void) { | monocle(void) { | ||||||
| 	Client *c; | 	Client *c; | ||||||
| 
 | 
 | ||||||
| 	domwfact = dozoom = False; | 	domwfact = dozoom = False; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Anselm R Garbe
						Anselm R Garbe