summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-03-09 14:02:47 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-03-09 14:02:47 +0530
commitd0c247ba4ebfb7cb688116739a7a12ff2053353f (patch)
treecd320637633687c9b66b2763d9dc40a4177171c9 /config.h
parent097fbfcc73b1a795d89ec7bb08666d37fc26a44a (diff)
Applied swallow patch
Diffstat (limited to 'config.h')
-rw-r--r--config.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/config.h b/config.h
index 770cae9..3995230 100644
--- a/config.h
+++ b/config.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 int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=10" };
@@ -27,9 +28,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) */