From 0c6a19ab8900c0e27eb3b8dd0b96cde9a67981e9 Mon Sep 17 00:00:00 2001 From: Jas Singh Date: Fri, 15 Nov 2024 01:59:34 -0800 Subject: [PATCH] Fixed an issue that would cause the volume module to expand to the whole bar. (#508) --- modules/bar/volume/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/bar/volume/index.ts b/modules/bar/volume/index.ts index 045cfb8..07d8398 100644 --- a/modules/bar/volume/index.ts +++ b/modules/bar/volume/index.ts @@ -41,20 +41,17 @@ const Volume = (): BarBoxChild => { }; const volIcn = Widget.Label({ - hexpand: true, label: getIcon(), class_name: 'bar-button-icon volume txt-icon bar', }); const volPct = Widget.Label({ - hexpand: true, label: audio.speaker.bind('volume').as((v) => `${Math.round(v * 100)}%`), class_name: 'bar-button-label volume', }); return { component: Widget.Box({ - hexpand: true, vexpand: true, tooltip_text: Utils.merge( [audio.speaker.bind('description'), getIcon()],