mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix: hide box by default
This commit is contained in:
parent
9a123052a0
commit
2ffc96d0b2
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user