aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-04-21 10:19:11 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-04-26 12:43:42 +0000
commitbc5b71666867c00e7dc850740bb5cc2a13a9c2a9 (patch)
treeb37c0637d15f8750857b97362038d7b25dcec38b /doc
parentcsi: implement private mode 2031 (dark/light mode detection) (diff)
config: add initial-color-theme=1|2
This option selects which color theme to use by default. I.e. at startup, and after a reset. This is useful with combined theme files, where a single file defines e.g. both a dark and light version of the theme.
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.ini.5.scd12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 85a7cf7b..f7da2c53 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -349,6 +349,18 @@ empty string to be set, but it must be quoted: *KEY=""*)
Default: _yes_
+*initial-color-theme*
+ Selects which color theme to use, *1*, or *2*.
+
+ *1* uses the colors defined in the *colors* section, while *2*
+ uses the colors from the *colors2* section.
+
+ Use the *color-theme-switch-1*, *color-theme-switch-2* and
+ *color-theme-toggle* key bindings to switch between the two themes
+ at runtime.
+
+ Default: _1_
+
*initial-window-size-pixels*
Initial window width and height in _pixels_ (subject to output
scaling), in the form _WIDTHxHEIGHT_. The height _includes_ the