mirror of
				https://github.com/tiyn/dwm.git
				synced 2025-11-01 03:31:15 +01:00 
			
		
		
		
	statuscmd added
This commit is contained in:
		| @@ -11,6 +11,7 @@ The list below shows the currently applied patches to the master branch. | ||||
| - dwm-deck-6.0.diff (adds deck layout) | ||||
| - dwm-noborder-6.2.diff (removes border if there is only one window) | ||||
| - dwm-pertag-20170513-ceac8c9.diff (allows having a layout/mwfact/barpos/nmaster per tag) | ||||
| - dwm-statuscmd-6.2.diff (enables dwmblocks compatibility) | ||||
|  | ||||
| ## Hotkeys | ||||
| There are various shortcuts and hotkeys used in this version. Included in my build are the following. | ||||
|   | ||||
| @@ -49,10 +49,10 @@ static const int resizehints = 1;    /* 1 means respect size hints in tiled resi | ||||
|  | ||||
| static const Layout layouts[] = { | ||||
| 	/* symbol     arrange function */ | ||||
| 	{ "[M]",      monocle }, | ||||
| 	{ "[]=",      tile },    /* first entry is default */ | ||||
| 	{ "[D]",      deck }, | ||||
| 	{ "><>",      NULL },    /* no layout function means floating behavior */ | ||||
| 	{ "[M]",      monocle }, | ||||
| 	{ "[D]",      deck }, | ||||
| }; | ||||
|  | ||||
| /* key definitions */ | ||||
| @@ -116,6 +116,9 @@ static Button buttons[] = { | ||||
| 	{ ClkLtSymbol,          0,              Button1,        setlayout,      {0} }, | ||||
| 	{ ClkLtSymbol,          0,              Button3,        setlayout,      {.v = &layouts[2]} }, | ||||
| 	{ ClkWinTitle,          0,              Button2,        zoom,           {0} }, | ||||
| 	{ ClkStatusText,        0,              Button1,        sigdwmblocks,   {.i = 1} }, | ||||
| 	{ ClkStatusText,        0,              Button2,        sigdwmblocks,   {.i = 2} }, | ||||
| 	{ ClkStatusText,        0,              Button3,        sigdwmblocks,   {.i = 3} }, | ||||
| 	{ ClkClientWin,         MODKEY,         Button1,        movemouse,      {0} }, | ||||
| 	{ ClkClientWin,         MODKEY,         Button2,        togglefloating, {0} }, | ||||
| 	{ ClkClientWin,         MODKEY,         Button3,        resizemouse,    {0} }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user