diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-07 11:08:31 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-07 11:08:31 +0000 |
| commit | ba48109a9b6c4d125567eb75d7a9fe29d6640385 (patch) | |
| tree | 9cb01b860fb62033f0ee1f2145814a4355101ff2 /doc | |
| parent | render: sixel: fix assertion: x/y coords may be outside visible area (diff) | |
| parent | config: add optional ‘center’ argument to ‘pad’ (diff) | |
Merge branch 'center-grid-content'
Closes #273
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 9cabc1d2..4bf40af2 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -73,7 +73,18 @@ in this order: *pad* Padding between border and glyphs, in pixels (subject to output - scaling), on the form _XxY_. Default: _2x2_. + scaling), on the form _XxY_. + + This will add _at least_ X pixels on both the left and right + sides, and Y pixels on the top and bottom sides. The grid content + will be anchored in the top left corner. I.e. if the window + manager forces an odd window size on foot, the additional pixels + will be added to the right and bottom sides. + + To instead center the grid content, append *center* (e.g. *pad=5x5 + center*). + + Default: _2x2_. *initial-window-size-pixels* Initial window width and height in _pixels_ (subject to output |
