aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2022-12-04 00:05:17 -0700
committerBryson Steck <brysonsteck@protonmail.com>2022-12-04 00:05:17 -0700
commit8dec419f637322bb2fd866d045bc682e8916997d (patch)
tree269ea650034c629f250cbc289c7f1b0ac1537a2f /config.def.h
parentc5738de01d3c8adccaf87842cd6efceafd795d98 (diff)
downloaddwm-8dec419f637322bb2fd866d045bc682e8916997d.tar
dwm-8dec419f637322bb2fd866d045bc682e8916997d.tar.gz
dwm-8dec419f637322bb2fd866d045bc682e8916997d.tar.bz2
added 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 54dff0f..d8a1a14 100644
--- a/config.def.h
+++ b/config.def.h
@@ -4,6 +4,7 @@
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int gappx = 6; /* gaps between 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" };
@@ -29,9 +30,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) */