summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authortsxv478 <vt0451@yandex.ru>2022-07-16 06:56:44 +0300
committertsxv478 <vt0451@yandex.ru>2022-07-16 06:56:44 +0300
commit949f70176780ceda4f4bfca4574e829a94edacee (patch)
tree813f206bc819dbdef77502652973361c6ff855ea /config.def.h
parent9654e64a3053932a24e74518a5fe5153255e79f6 (diff)
swallow 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 7fb2e74..f03f485 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 = 20; /* 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) */