Add swallow patch

This commit is contained in:
Marco Thomas
2021-03-26 11:39:28 +01:00
parent 511fdab1c3
commit 5c321e4410
8 changed files with 747 additions and 1043 deletions

View File

@@ -5,6 +5,7 @@ static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
static const char *fonts[] = { "FiraCode Nerd Font Mono:size=10" };
static const char dmenufont[] = "monospace:size=10";
static const char col_gray1[] = "#222222";
@@ -27,13 +28,13 @@ static const Rule rules[] = {
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, 1, -1 },
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
/* class instance title tags mask isfloating isterminal noswallow monitor */
{ "Nightly", NULL, NULL, 1 << 2, 0, 0, 0, -1 },
{ "Alacritty",NULL, NULL, 0, 0, 1, 0, -1 },
};
/* layout(s) */
static const float mfact = 0.5; /* factor of master area size [0.05..0.95] */
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */