We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21af48f commit 773b1d4Copy full SHA for 773b1d4
src/modules/clock.cpp
@@ -24,6 +24,7 @@ waybar::modules::Clock::Clock(const std::string& id, const Json::Value& config)
24
m_tlpFmt_{(config_["tooltip-format"].isString()) ? config_["tooltip-format"].asString() : ""},
25
m_tooltip_{new Gtk::Label()},
26
cldInTooltip_{m_tlpFmt_.find("{" + kCldPlaceholder + "}") != std::string::npos},
27
+ cldYearShift_{1900y / 1 / 1},
28
tzInTooltip_{m_tlpFmt_.find("{" + kTZPlaceholder + "}") != std::string::npos},
29
tzCurrIdx_{0},
30
ordInTooltip_{m_tlpFmt_.find("{" + kOrdPlaceholder + "}") != std::string::npos} {
0 commit comments