diff --git a/src/modules/custom.cpp b/src/modules/custom.cpp index 1b28115a..d9e9a4cf 100644 --- a/src/modules/custom.cpp +++ b/src/modules/custom.cpp @@ -41,8 +41,8 @@ auto waybar::modules::Custom::update() -> void // Hide label if output is empty if (output.empty()) { - label_.set_name(""); label_.hide(); + label_.set_name(""); } else { label_.set_name("custom-" + name_); auto format = config_["format"] ? config_["format"].asString() : "{}";