fix #2650
This commit is contained in:
parent
41ebdc3cb6
commit
182272b8b5
|
@ -14,7 +14,7 @@ waybar::modules::Custom::Custom(const std::string& name, const std::string& id,
|
|||
fp_(nullptr),
|
||||
pid_(-1) {
|
||||
dp.emit();
|
||||
if (!config_["signal"].empty() && config_["interval"].empty()) {
|
||||
if (!config_["signal"].empty() && config_["interval"].empty() && config_["restart-interval"].empty()) {
|
||||
waitingWorker();
|
||||
} else if (interval_.count() > 0) {
|
||||
delayWorker();
|
||||
|
|
Loading…
Reference in New Issue