Adding quitonlyonempty patch and made monocle layout position configurable for fullscreen and warp patches

This commit is contained in:
bakkeby
2019-10-03 22:58:58 +02:00
parent 9ebd9c8397
commit 40000bba1c
5 changed files with 39 additions and 3 deletions

View File

@@ -29,6 +29,9 @@ static const unsigned int systrayspacing = 2; /* systray spacing */
static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
static const int showsystray = 1; /* 0 means no systray */
#endif // SYSTRAY_PATCH
#if ONLYQUITONEMPTY_PATCH
static const int quit_empty_window_count = 2; /* only allow dwm to quit if no windows are open, value here represents number of deamons */
#endif // ONLYQUITONEMPTY_PATCH
static const char *fonts[] = { "monospace:size=10" };
static const char dmenufont[] = "monospace:size=10";
@@ -210,6 +213,9 @@ static const int resizehints = 1; /* 1 means respect size hints in tiled resi
#define FORCE_VSPLIT 1
#endif
/* Position of the monocle layout in the layouts variable, used by warp and fullscreen patches */
#define MONOCLE_LAYOUT_POS 2
#if FLEXTILE_DELUXE_LAYOUT
static const Layout layouts[] = {
/* symbol arrange function, { nmaster, nstack, layout, master axis, stack axis, secondary stack axis } */