From 182272b8b517031fa73191bce4af884ddb072b37 Mon Sep 17 00:00:00 2001 From: Evan Overman Date: Thu, 28 Dec 2023 19:30:26 -0800 Subject: [PATCH] fix #2650 --- src/modules/custom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/custom.cpp b/src/modules/custom.cpp index 6101f874..60ab340b 100644 --- a/src/modules/custom.cpp +++ b/src/modules/custom.cpp @@ -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();