diff options
| author | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2021-12-19 18:40:33 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2021-12-19 18:40:33 -0500 |
| commit | aefa8dd026134400faf173258e2a63f5927cef9a (patch) | |
| tree | 28c315090b5dc960c255475d71a7b36f4d49f19f /config.def.h | |
| parent | 01d617356cc6aa96fb45b28bd7ac905e5b052f11 (diff) | |
| download | dwm-aefa8dd026134400faf173258e2a63f5927cef9a.tar.gz | |
Added swallow patch
https://dwm.suckless.org/patches/swallow/
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index d39ef0a..5dc1f41 100644 --- a/config.def.h +++ b/config.def.h @@ -7,6 +7,8 @@ static const unsigned int gappoh = 15; /* horiz outer gap between windo static const unsigned int gappov = 15; /* 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 = 1; /* 1 means swallow floating windows by default */ + static unsigned int borderpx = 2; /* border pixel of windows */ static unsigned int snap = 32; /* snap pixel */ static int showbar = 1; /* 0 means no bar */ @@ -34,9 +36,12 @@ 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, "st", NULL, 0, 0, 1, 0, -1 }, + { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */ }; /* layout(s) */ |