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:
@ -80,7 +80,7 @@ auto waybar::modules::Custom::update() -> void
|
||||
}
|
||||
|
||||
auto str = fmt::format(format_, text_);
|
||||
label_.set_text(str);
|
||||
label_.set_markup(str);
|
||||
if (text_ == tooltip_) {
|
||||
label_.set_tooltip_text(str);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user