mirror of
https://github.com/rad4day/Waybar.git
synced 2025-09-16 15:32:32 +02:00
feat: can disable tooltip
This commit is contained in:
@@ -215,7 +215,9 @@ auto waybar::modules::Pulseaudio::update() -> void
|
||||
label_.set_markup(
|
||||
fmt::format(format, fmt::arg("volume", volume_),
|
||||
fmt::arg("icon", getIcon(volume_, getPortIcon()))));
|
||||
label_.set_tooltip_text(desc_);
|
||||
if (tooltipEnabled()) {
|
||||
label_.set_tooltip_text(desc_);
|
||||
}
|
||||
if (scrolling_) {
|
||||
scrolling_ = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user