From 03712714650a80e418bc91724c3a819d8d29f538 Mon Sep 17 00:00:00 2001 From: Alexis Date: Thu, 16 Aug 2018 17:59:45 +0200 Subject: [PATCH] fix(custom): hide first --- src/modules/custom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() : "{}";