nyx: add black theme option

New experimental black theme.
This commit is contained in:
CTCaer
2022-10-11 08:32:32 +03:00
parent 1a8075669d
commit e455fe043f
6 changed files with 96 additions and 25 deletions

View File

@@ -263,7 +263,9 @@ skip_main_cfg_parse:
{
LIST_FOREACH_ENTRY(ini_kv_t, kv, &ini_sec->kvs, link)
{
if (!strcmp("themecolor", kv->key))
if (!strcmp("themebg", kv->key))
n_cfg.theme_bg = strtol(kv->val, NULL, 16);
else if (!strcmp("themecolor", kv->key))
n_cfg.theme_color = atoi(kv->val);
else if (!strcmp("entries5col", kv->key))
n_cfg.entries_5_col = atoi(kv->val) == 1;