From fab3a8c3a167c03f8b5c2bf8d5f7cd78dd287076 Mon Sep 17 00:00:00 2001 From: Jas Singh Date: Sat, 11 Jan 2025 12:40:02 -0800 Subject: [PATCH] Remove the unintended empty space from the power module in the bar. (#714) --- src/components/bar/modules/power/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/bar/modules/power/index.tsx b/src/components/bar/modules/power/index.tsx index 2ac59d7..9e2078c 100644 --- a/src/components/bar/modules/power/index.tsx +++ b/src/components/bar/modules/power/index.tsx @@ -2,7 +2,7 @@ import options from 'src/options'; import { Module } from '../../shared/Module'; import { inputHandler } from 'src/components/bar/utils/helpers'; import { BarBoxChild } from 'src/lib/types/bar'; -import { bind } from 'astal'; +import { bind, Variable } from 'astal'; import { Astal } from 'astal/gtk3'; const { icon, leftClick, rightClick, middleClick, scrollUp, scrollDown } = options.bar.customModules.power; @@ -11,6 +11,7 @@ export const Power = (): BarBoxChild => { const powerModule = Module({ tooltipText: 'Power Menu', textIcon: bind(icon), + showLabelBinding: Variable(false), boxClass: 'powermodule', props: { setup: (self: Astal.Button) => {