fix: tpyo
parent
6dcae2cade
commit
f1016322b9
|
@ -270,11 +270,11 @@ int waybar::Client::main(int argc, char *argv[]) {
|
||||||
setupCss(css_file);
|
setupCss(css_file);
|
||||||
});
|
});
|
||||||
|
|
||||||
auto config = config.getConfig();
|
auto m_config = config.getConfig();
|
||||||
if (config.isObject() && config["reload_style_on_change"].asBool()) {
|
if (m_config.isObject() && m_config["reload_style_on_change"].asBool()) {
|
||||||
m_cssReloadHelper->monitorChanges();
|
m_cssReloadHelper->monitorChanges();
|
||||||
} else if (config.isArray()) {
|
} else if (m_config.isArray()) {
|
||||||
for (const auto &conf : config) {
|
for (const auto &conf : m_config) {
|
||||||
if (conf["reload_style_on_change"].asBool()) {
|
if (conf["reload_style_on_change"].asBool()) {
|
||||||
m_cssReloadHelper->monitorChanges();
|
m_cssReloadHelper->monitorChanges();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue