fix: waybar style volume tooltip (#400)

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
Rubin Bhandari
2024-10-31 14:35:50 +05:45
committed by GitHub
parent 14d5e4c270
commit 8893122006

View File

@@ -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) => {