diff --git a/src/modules/custom.cpp b/src/modules/custom.cpp index 1a64d2a..397298b 100644 --- a/src/modules/custom.cpp +++ b/src/modules/custom.cpp @@ -125,7 +125,7 @@ auto waybar::modules::Custom::update() -> void { } else { parseOutputRaw(); } - auto str = fmt::format(format_, Glib::Markup::escape_text(text_).raw(), fmt::arg("alt", alt_), + auto str = fmt::format(format_, text_, fmt::arg("alt", alt_), fmt::arg("icon", getIcon(percentage_, alt_)), fmt::arg("percentage", percentage_)); if (str.empty()) {