From 8893122006ff4be028bcb4152c6ad6d1ce95890a Mon Sep 17 00:00:00 2001 From: Rubin Bhandari Date: Thu, 31 Oct 2024 14:35:50 +0545 Subject: [PATCH] fix: waybar style volume tooltip (#400) Co-authored-by: Jas Singh --- modules/bar/volume/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/bar/volume/index.ts b/modules/bar/volume/index.ts index e85dc52..045cfb8 100644 --- a/modules/bar/volume/index.ts +++ b/modules/bar/volume/index.ts @@ -56,6 +56,10 @@ const Volume = (): BarBoxChild => { component: Widget.Box({ hexpand: true, vexpand: true, + tooltip_text: Utils.merge( + [audio.speaker.bind('description'), getIcon()], + (desc, icon) => ` ${icon} ${desc}`, + ), className: Utils.merge( [options.theme.bar.buttons.style.bind('value'), options.bar.volume.label.bind('value')], (style, showLabel) => {