summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorNaz <ndpm13@ch-naseem.com>2026-01-20 11:42:50 +0100
committerNaz <ndpm13@ch-naseem.com>2026-01-20 11:42:50 +0100
commitdfbbd35b0919ed7e9aeec3b3f7bf0338d4438f9c (patch)
tree64e7379ce727c76416a27c72ce90405f68955b43 /config.def.h
parentbe8a1fdf1a58597321c2ea8f758601327b7debfa (diff)
feat(patch): apply dwm-swallow-6.3
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..253a0b9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -3,6 +3,7 @@
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
+static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
static const unsigned int gappih = 10; /* horiz inner gap between windows */
static const unsigned int gappiv = 10; /* vert inner gap between windows */
static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
@@ -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) */