mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix(custom): hide first
This commit is contained in:
parent
93f87f322f
commit
0371271465
@ -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() : "{}";
|
||||
|
Loading…
Reference in New Issue
Block a user