fix broken clang-format to run pipeline
This commit is contained in:
@ -109,7 +109,7 @@ int main(int argc, char* argv[]) {
|
|||||||
|
|
||||||
std::signal(SIGUSR1, SIG_IGN);
|
std::signal(SIGUSR1, SIG_IGN);
|
||||||
std::signal(SIGUSR2, SIG_IGN);
|
std::signal(SIGUSR2, SIG_IGN);
|
||||||
std::signal(SIGINT, SIG_IGN);
|
std::signal(SIGINT, SIG_IGN);
|
||||||
|
|
||||||
delete client;
|
delete client;
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -77,7 +77,7 @@ auto waybar::modules::Temperature::update() -> void {
|
|||||||
} else if (warning) {
|
} else if (warning) {
|
||||||
format = config_["format-warning"].isString() ? config_["format-warning"].asString() : format;
|
format = config_["format-warning"].isString() ? config_["format-warning"].asString() : format;
|
||||||
label_.get_style_context()->add_class("warning");
|
label_.get_style_context()->add_class("warning");
|
||||||
} else {
|
} else {
|
||||||
label_.get_style_context()->remove_class("critical");
|
label_.get_style_context()->remove_class("critical");
|
||||||
label_.get_style_context()->remove_class("warning");
|
label_.get_style_context()->remove_class("warning");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user