mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
fix(Pulseaudio): use markup
This commit is contained in:
@@ -207,7 +207,7 @@ auto waybar::modules::Pulseaudio::update() -> void
|
|||||||
label_.get_style_context()->remove_class("muted");
|
label_.get_style_context()->remove_class("muted");
|
||||||
label_.get_style_context()->add_class("bluetooth");
|
label_.get_style_context()->add_class("bluetooth");
|
||||||
}
|
}
|
||||||
label_.set_label(
|
label_.set_markup(
|
||||||
fmt::format(format, fmt::arg("volume", volume_),
|
fmt::format(format, fmt::arg("volume", volume_),
|
||||||
fmt::arg("icon", getIcon(volume_, getPortIcon()))));
|
fmt::arg("icon", getIcon(volume_, getPortIcon()))));
|
||||||
label_.set_tooltip_text(desc_);
|
label_.set_tooltip_text(desc_);
|
||||||
|
Reference in New Issue
Block a user