diff --git a/.config/ags/modules/bar/normal/system.js b/.config/ags/modules/bar/normal/system.js index e97374f1..46834642 100644 --- a/.config/ags/modules/bar/normal/system.js +++ b/.config/ags/modules/bar/normal/system.js @@ -99,7 +99,7 @@ const BarBattery = () => Box({ Label({ className: 'txt-smallie', setup: (self) => self.hook(Battery, label => { - label.label = `${Battery.percent}%`; + label.label = `${Number.parseFloat(Battery.percent.toFixed(1))}%`; }), }), Overlay({