feat(states): add getState to other percent based modules

This commit is contained in:
Dan
2019-05-02 22:19:47 -04:00
parent 3bac96945c
commit 5f0a3063d1
5 changed files with 5 additions and 0 deletions

View File

@@ -202,6 +202,7 @@ auto waybar::modules::Pulseaudio::update() -> void {
}
label_.set_markup(fmt::format(
format, fmt::arg("volume", volume_), fmt::arg("icon", getIcon(volume_, getPortIcon()))));
getState(volume_);
if (tooltipEnabled()) {
label_.set_tooltip_text(desc_);
}