Remove the unintended empty space from the power module in the bar. (#714)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user