config: add new section 'colors2'

This section defines an alternative color theme. The keys are the same
as in the 'colors' section, as are the default values.

Values are *not* inherited from 'colors'. That is, if you set a value
in 'colors', but not in 'colors2', it is *not* inherited by 'colors2'.
This commit is contained in:
Daniel Eklöf 2025-04-20 07:36:58 +02:00
parent 01c43f1644
commit 1423babc35
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 21 additions and 0 deletions

View file

@ -304,6 +304,7 @@ struct config {
tll(struct custom_regex) custom_regexes;
struct color_theme colors;
struct color_theme colors2;
struct {
enum cursor_style style;