From 92e0327f00937fb18e455f33bb287bb19a7b37b3 Mon Sep 17 00:00:00 2001 From: Nikita Langer Date: Mon, 13 Jul 2026 16:46:24 +0200 Subject: window swallowing --- config.def.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 5838fad..24c34e1 100644 --- a/config.def.h +++ b/config.def.h @@ -24,6 +24,7 @@ static const unsigned int gappiv = 5; /* vert inner gap between window static const unsigned int gappoh = 5; /* horiz outer gap between windows and screen edge */ static const unsigned int gappov = 5; /* vert outer gap between windows and screen edge */ static 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 unsigned int systrayonleft = 0; /* 0: systray in the right corner, >0: systray on left of status text */ 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*/ @@ -85,10 +86,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 }, - { "steam", NULL, NULL, 1 << 6, 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, 0, -1 }, + { "steam", NULL, NULL, 1 << 6, 0, 0, 0, -1 }, + { "st", NULL, NULL, 0, 0, 1, 0, -1 }, }; /* layout(s) */ -- cgit