From eb6737ca2593f457368ae16e920911cdd70a2e33 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 8 Sep 2020 19:17:29 +0200 Subject: Add -W,--window-size-chars, and foot.ini:initial-window-size-chars * Add -W,--window-size-chars command line option * Add initial-window-size-chars foot.ini option * Add -w,--window-size-pixels command line option * Add initial-window-size-pixels foot.ini option * Deprecate -g,--geometry command line option in favor of -w,--window-size-pixels * Deprecate geometry option in foot.ini in favor of initial-window-size-pixels --- doc/foot.ini.5.scd | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'doc/foot.ini.5.scd') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 81e3f945..25a40e45 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -35,18 +35,28 @@ in this order: Default: _monospace_. -*geometry* - Initial window width and height in pixels (subject to output - scaling), on the form _WIDTHxHEIGHT_. Default: _700x500_. - *pad* Padding between border and glyphs, in pixels (subject to output scaling), on the form _XxY_. Default: _2x2_. +*initial-window-size-pixels* + Initial window width and height in _pixels_ (subject to output + scaling), on the form _WIDTHxHEIGHT_. The height _includes_ the + titlebar when using CSDs. Mutually exclusive to + *initial-window-size-chars*. Default: _700x500_. + +*initial-window-size-chars* + Initial window width and height in _characters_, on the form + _WIDTHxHEIGHT_. Mutually exclusive to + *initial-window-size-pixels*. Default: _not set_. + *initial-window-mode* Initial window mode for each newly spawned window: *windowed*, *maximized* or *fullscreen*. Default: _windowed_. +*geometry* + Deprecated. Alias for *initial-window-size-pixels*. + *shell* Executable to launch. Typically a shell. Default: _$SHELL_ if set, otherwise the user's default shell (as specified in -- cgit v1.3