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