fix: use pango markup for consistent formatting in format and tooltip-format

This commit is contained in:
Prakhar Chhalotre
2026-02-13 02:17:46 +05:30
parent 03a77c592b
commit 3e7976c8eb
25 changed files with 34 additions and 34 deletions

View File

@@ -22,7 +22,7 @@ auto waybar::modules::Load::update() -> void {
auto [load1, load5, load15] = Load::getLoad();
if (tooltipEnabled()) {
auto tooltip = fmt::format("Load 1: {}\nLoad 5: {}\nLoad 15: {}", load1, load5, load15);
label_.set_tooltip_text(tooltip);
label_.set_tooltip_markup(tooltip);
}
auto format = format_;
auto state = getState(load1);