diff --git a/src/modules/custom.cpp b/src/modules/custom.cpp index fad10a6f..f20c2306 100644 --- a/src/modules/custom.cpp +++ b/src/modules/custom.cpp @@ -4,6 +4,9 @@ waybar::modules::Custom::Custom(const std::string& name, const std::string& id, const Json::Value& config) : ALabel(config, "custom-" + name, id, "{}"), name_(name), fp_(nullptr), pid_(-1) { + // Hide box by default + event_box_.hide(); + if (interval_.count() > 0) { delayWorker(); } else if (config_["exec"].isString()) {