Do not fail to parse a multi-bar config

This commit is contained in:
tiosgz
2021-07-10 20:22:37 +00:00
parent 7c1303f57c
commit 78aaa5c1b4
3 changed files with 41 additions and 11 deletions

View File

@ -39,6 +39,7 @@ class Client {
void handleOutput(struct waybar_output &output);
bool isValidOutput(const Json::Value &config, struct waybar_output &output);
auto setupConfig(const std::string &config_file, int depth) -> void;
auto resolveConfigIncludes(Json::Value &config, int depth) -> void;
auto mergeConfig(Json::Value &a_config_, Json::Value &b_config_) -> void;
auto setupCss(const std::string &css_file) -> void;
struct waybar_output & getOutput(void *);