clang formating

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

View File

@ -14,7 +14,8 @@ 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() && config_["restart-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();