diff options
| author | Andrew J. Hesford <ajh@sideband.org> | 2024-01-17 20:00:14 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-02-05 11:14:53 +0000 |
| commit | 21a8d832ce12217ddd493cdcaefdc457128f2ada (patch) | |
| tree | c49b5375dc8f2b1919adc2a1a8fc49e2c25cc3dd /doc | |
| parent | util: add streq() function and use in place of strcmp(...) == 0 (diff) | |
feature: add resize-by-cells option to constrain window sizes...
...to multiples of the cell size, and preserve grid size when changing
fonts or display scales in floating windows.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index e276d186..1c87db53 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -252,6 +252,21 @@ empty string to be set, but it must be quoted: *KEY=""*) Default: _100_. +*resize-by-cells* + Boolean. + + When set to *yes*, the window size will be constrained to multiples + of the cell size (plus any configured padding). When set to *no*, + the window size will be unconstrained, and padding may be adjusted + as necessary to accommodate window sizes that are not multiples of + the cell size. + + This option only applies to floating windows. Sizes of maxmized, tiled + or fullscreen windows will not be constrained to multiples of the cell + size. + + Default: _yes_ + *initial-window-size-pixels* Initial window width and height in _pixels_ (subject to output scaling), in the form _WIDTHxHEIGHT_. The height _includes_ the |
