feat(Label): use set_markup

This commit is contained in:
Alexis
2018-11-21 20:49:09 +01:00
parent b3559328f1
commit bd62c4cbc5
9 changed files with 9 additions and 9 deletions

View File

@ -17,5 +17,5 @@ waybar::modules::Clock::Clock(const Json::Value& config)
auto waybar::modules::Clock::update() -> void
{
auto localtime = fmt::localtime(std::time(nullptr));
label_.set_text(fmt::format(format_, localtime));
label_.set_markup(fmt::format(format_, localtime));
}