mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-15 05:33:58 -04:00
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:
parent
10e7f29149
commit
bc5b716668
7 changed files with 58 additions and 15 deletions
6
config.h
6
config.h
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue