Skip to content

Commit

Permalink
Remove the unintended empty space from the power module in the bar. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jas-SinghFSU authored Jan 11, 2025
1 parent db3fa88 commit fab3a8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/bar/modules/power/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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) => {
Expand Down

0 comments on commit fab3a8c

Please sign in to comment.