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.
This commit is contained in:
Daniel Eklöf 2025-04-21 12:19:11 +02:00
parent 1c21200267
commit d8b32dd6a3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 58 additions and 15 deletions

View file

@ -71,6 +71,8 @@
`key-bindings.color-theme-toggle` key bindings. These can be used to
switch between the primary and alternative color themes. They are
not bound by default.
* Added `initial-color-theme=1|2` config option. `1` uses colors from
the `[colors]` section, `2` uses `[colors2]`.
### Changed