add window_color to config

This commit is contained in:
nakst 2021-12-17 10:56:23 +00:00
parent d479a5e352
commit c3f158a3ca
2 changed files with 2 additions and 1 deletions

View File

@ -165,7 +165,7 @@ void SettingsLoadDefaults() {
SettingsPutValue("general", "show_cursor_shadow", EsLiteral("1"), nullptr, nullptr, true, false);
SettingsPutValue("general", "scroll_lines_per_notch", EsLiteral("3"), nullptr, nullptr, true, false);
SettingsPutValue("general", "ui_scale", EsLiteral("100"), nullptr, nullptr, true, false);
SettingsPutValue("general", "window_color", EsLiteral("2"), nullptr, nullptr, true, false);
SettingsPutValue("general", "window_color", EsLiteral("9"), nullptr, nullptr, true, false);
SettingsPutValue("general", "use_smart_quotes", EsLiteral("1"), nullptr, nullptr, true, false);
SettingsPutValue("general", "enable_hover_state", EsLiteral("1"), nullptr, nullptr, true, false);
SettingsPutValue("general", "enable_animations", EsLiteral("1"), nullptr, nullptr, true, false);

View File

@ -322,6 +322,7 @@ Option options[] = {
{ "BuildCore.RequiredFontsOnly", OPTION_TYPE_BOOL, { .b = false } },
{ "General.first_application", OPTION_TYPE_STRING, { .s = NULL } },
{ "General.wallpaper", OPTION_TYPE_STRING, { .s = NULL } },
{ "General.window_color", OPTION_TYPE_STRING, { .s = "9" } },
{ "General.installation_state", OPTION_TYPE_STRING, { .s = "0" } },
{ "General.ui_scale", OPTION_TYPE_STRING, { .s = "100" } },
{ "General.keyboard_layout", OPTION_TYPE_STRING, { .s = "us" } },