layout: refine master layout new window handling (#683)

https://github.com/hyprwm/Hyprland/pull/6479
This commit is contained in:
memchr 2024-06-15 19:18:24 +00:00 committed by GitHub
parent a6a3e73385
commit 61a398af53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,8 +19,9 @@ _category name `master`_
| allow_small_split | enable adding additional master windows in a horizontal split style | bool | false |
| special_scale_factor | the scale of the special workspace windows. [0.0 - 1.0] | float | 1 |
| mfact | master split factor, the ratio of master split, relative float delta (e.g `-0.2` or `+0.2`) or `exact` followed by a the exact float value (e.g. `exact 0.55`) [0.0 - 1.0] | floatvalue | 0.55 |
| new_is_master | whether a newly open window should replace the master or join the slaves. | bool | true |
| new_status | `master`: new window becomes master; `slave`: new windows are added to slave stack; `inherit`: inherit from focused window | string | `slave` |
| new_on_top | whether a newly open window should be on the top of the stack | bool | false |
| new_on_active | after, `before`: place new window relative to the focused window; `none`: place new window according to the value of `new_on_top`. | string | `none` |
| no_gaps_when_only | whether to apply gaps when there is only one window on a workspace, aka. smart gaps. (default: disabled - 0) no border - 1, with border - 2 [0/1/2] | int | 0 |
| orientation | default placement of the master area, can be left, right, top, bottom or center | string | left |
| inherit_fullscreen | inherit fullscreen status when cycling/swapping to another window (e.g. monocle layout) | bool | true |