mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00
fix #2650
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user