diff options
| author | Warrick Lo <warrick.s.z.lo@gmail.com> | 2021-11-24 00:39:48 -0800 |
|---|---|---|
| committer | Warrick Lo <warrick.s.z.lo@gmail.com> | 2021-11-24 00:39:48 -0800 |
| commit | 46f916207a76f8a249c8f0a138f6c6c5d8aacaa0 (patch) | |
| tree | d647b06e047083e43502e72f0196a5d1aa00cda4 /config.def.h | |
| parent | Add EWMH desktop & decoration hints support (diff) | |
Add window swallowing support
Requires the X Resource Extension.
Window swallowing will not be able to handle programs launched from
tmux.
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index 7570fe5..4195692 100644 --- a/config.def.h +++ b/config.def.h @@ -5,6 +5,7 @@ static const unsigned int borderpx = 1; /* border pixel of windows */ static const int startwithgaps[] = { 1 }; /* 1 means gaps are used by default, this can be customized for each tag */ static const unsigned int gappx[] = { 8 }; /* default gap between windows in pixels, this can be customized for each tag */ 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" }; @@ -32,9 +33,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 }, + { "Alacritty", NULL, NULL, 0, 0, 1, 0, -1 }, + { NULL, NULL, "Event Tester", 0, 1, 0, 1, -1 }, /* xev */ }; /* layout(s) */ |