diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-04-21 10:19:11 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-04-26 12:43:42 +0000 |
| commit | bc5b71666867c00e7dc850740bb5cc2a13a9c2a9 (patch) | |
| tree | b37c0637d15f8750857b97362038d7b25dcec38b /config.h | |
| parent | csi: 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 'config.h')
| -rw-r--r-- | config.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -190,6 +190,11 @@ struct color_theme { } use_custom; }; +enum which_color_theme { + COLOR_THEME1, + COLOR_THEME2, +}; + struct config { char *term; char *shell; @@ -305,6 +310,7 @@ struct config { struct color_theme colors; struct color_theme colors2; + enum which_color_theme initial_color_theme; struct { enum cursor_style style; |
