mirror of
https://github.com/rad4day/Waybar.git
synced 2025-09-16 15:32:32 +02:00
feat(states): add getState to other percent based modules
This commit is contained in:
@@ -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_);
|
||||
}
|
||||
|
Reference in New Issue
Block a user