diff options
| author | Johannes Herman <johannes.herman@gmail.com> | 2025-07-28 19:58:18 +0200 |
|---|---|---|
| committer | Johannes Herman <johannes.herman@gmail.com> | 2025-07-28 19:58:18 +0200 |
| commit | e172ca530c3ba2cc0b0b5e3bbe65aab078fb2942 (patch) | |
| tree | f4fa1fd85a86fba00555439b1526c59bc1253f96 /config.def.h | |
| parent | 1067de190423e605d68817d70b282262659eb727 (diff) | |
swallow patch
Diffstat (limited to 'config.def.h')
| -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 1aa9c33..8a4ba20 100644 --- a/config.def.h +++ b/config.def.h @@ -17,6 +17,8 @@ static const float focuscolor[] = COLOR(0x005577ff); static const float urgentcolor[] = COLOR(0xff0000ff); /* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */ static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */ +static int enableautoswallow = 1; /* enables autoswallowing newly spawned clients */ +static float swallowborder = 1.0f; /* add this multiplied by borderpx to border when a client is swallowed */ /* tagging - TAGCOUNT must be no greater than 31 */ #define TAGCOUNT (9) @@ -26,10 +28,11 @@ static int log_level = WLR_ERROR; /* NOTE: ALWAYS keep a rule declared even if you don't use rules (e.g leave at least one example) */ static const Rule rules[] = { - /* app_id title tags mask isfloating monitor */ + /* app_id title tags mask isfloating isterm noswallow monitor */ /* examples: */ - { "Gimp_EXAMPLE", NULL, 0, 1, -1 }, /* Start on currently visible tags floating, not tiled */ - { "firefox_EXAMPLE", NULL, 1 << 8, 0, -1 }, /* Start on ONLY tag "9" */ + { "foot", NULL, 0, 0, 1, 1, -1 }, + { "Gimp_EXAMPLE", NULL, 0, 1, 0, 0, -1 }, /* Start on currently visible tags floating, not tiled */ + { "firefox_EXAMPLE", NULL, 1 << 8, 0, 0, 0, -1 }, /* Start on ONLY tag "9" */ }; /* layout(s) */ |
