about summary refs log tree commit diff stats
path: root/config.def.h
diff options
context:
space:
mode:
authorAcid Bong <acid-bong@cock.lt>2022-12-15 20:34:22 +0200
committerAcid Bong <acid-bong@cock.lt>2022-12-15 20:35:30 +0200
commite16d6382e8b70cab748285db7b558afe9abd68d4 (patch)
tree93936f1367c471c3827eb1ffb0240994b02391f6 /config.def.h
parentad1b949e96e23c87368ea9192e248d48c41bf7df (diff)
downloaddwm-e16d6382e8b70cab748285db7b558afe9abd68d4.tar.gz
patch: swallow
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index d8c0334..71ffcf6 100644
--- a/config.def.h
+++ b/config.def.h
@@ -14,6 +14,7 @@ static const int showsystray        = 1;     /* 0 means no systray */
 static const int showbar            = 1;     /* 0 means no bar */
 static const int topbar             = 1;     /* 0 means bottom bar */
 static const int focusonwheel       = 0;
+static const int swallowfloating    = 0;        /* 1 means swallow floating windows by default */
 static const char *fonts[]          = { "monospace:size=10", "Symbola:size=10", "Symbols Nerd Font Mono:size=10" };
 static const char norm_fg[] = "#f9f5d7";
 static const char norm_bg[] = "#1d2021";
@@ -37,10 +38,12 @@ static const Rule rules[] = {
 	 *	WM_CLASS(STRING) = instance, class
 	 *	WM_NAME(STRING) = title
 	 */
-	/* class		instance	title		tags mask	isfloating	monitor */
-	{ NULL,			NULL,		"btop",		0,		1,		-1 },
-	{ NULL,			NULL,		"ranger",	0,		1,		-1 },
-	{ "KotatogramDesktop",	NULL,		NULL,		0,		1,		-1 },
+	/* class		instance	title           tags mask	isfloating	isterminal	noswallow	monitor */
+	{ "xterm-256color",	NULL,		NULL,		0,		0,		1,		0,		-1 },
+	{ NULL,			NULL,		"btop",		0,		1,		0,		0,		-1 },
+	{ NULL,			NULL,		"ranger",	0,		1,		1,		0,		-1 },
+	{ "KotatogramDesktop",	NULL,		NULL,		0,		1,		0,		0,		-1 },
+	{ NULL,			NULL,		"Event Tester",	0,		0,		0,		1,		-1 }, /* xev */
 };
 
 /* layout(s) */