From 2ffc96d0b2c7758729f6672b6075e583c5fe9839 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 24 May 2020 19:02:52 +0200 Subject: [PATCH] fix: hide box by default --- src/modules/custom.cpp | 3 +++ 1 file changed, 3 insertions(+) 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()) {