pull/2778/head
Evan Overman 2023-12-28 19:30:26 -08:00
parent 41ebdc3cb6
commit 182272b8b5
No known key found for this signature in database
GPG Key ID: 770E66F5A8D6623F
1 changed files with 1 additions and 1 deletions

View File

@ -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();