Adding config option to enable reloading style on file change
This commit is contained in:
parent
f7eca99496
commit
20fa578b12
|
@ -269,7 +269,10 @@ int waybar::Client::main(int argc, char *argv[]) {
|
|||
auto css_file = getStyle(style_opt, appearance);
|
||||
setupCss(css_file);
|
||||
});
|
||||
|
||||
if (config.getConfig()["reload_style_on_change"].asBool()) {
|
||||
m_cssReloadHelper->monitorChanges();
|
||||
}
|
||||
bindInterfaces();
|
||||
gtk_app->hold();
|
||||
gtk_app->run();
|
||||
|
|
Loading…
Reference in New Issue