mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
revert: infinite seconds for once custom modules
This commit is contained in:
parent
f8c06b27ae
commit
e8f31a0c4f
@ -7,7 +7,7 @@ waybar::ALabel::ALabel(const Json::Value& config, const std::string& format, uin
|
||||
: config_(config),
|
||||
format_(config_["format"].isString() ? config_["format"].asString() : format),
|
||||
interval_(config_["interval"] == "once"
|
||||
? std::chrono::seconds(std::numeric_limits<int>::infinity())
|
||||
? std::chrono::seconds(100000000)
|
||||
: std::chrono::seconds(
|
||||
config_["interval"].isUInt() ? config_["interval"].asUInt() : interval)),
|
||||
default_format_(format_) {
|
||||
|
Loading…
Reference in New Issue
Block a user