mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
feat(Label): use set_markup
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user