summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorNaz <ndpm13@ch-naseem.com>2025-10-15 14:10:04 +0100
committerNaz <ndpm13@ch-naseem.com>2025-10-15 14:10:04 +0100
commit052ce50c39347270ea15ebbde8305eed8198d007 (patch)
tree2afd5f32a733868ab872f26a06874e1e2428bcaf /config.def.h
parente550b92ab187142ce4db02963dae84d5055d6306 (diff)
✨feat: apply dwm-swallow-6.3.diff patch
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index e3ad7fe..00656dd 100644
--- a/config.def.h
+++ b/config.def.h
@@ -8,6 +8,7 @@ static const unsigned int gappiv = 10; /* vert inner gap between window
static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
static const unsigned int gappov = 10; /* vert outer gap between windows and screen edge */
static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */
+static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=10" };
@@ -31,9 +32,11 @@ 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 */
+ { "Gimp", NULL, NULL, 0, 1, 0, 0, -1 },
+ { "Firefox", NULL, NULL, 1 << 8, 0, 0, -1, -1 },
+ { "St", NULL, NULL, 0, 0, 1, 0, -1 },
+ { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */
};
/* layout(s) */