[modules/battery] Remove leading zeroes and use minwidth
This commit is contained in:
parent
302e14007b
commit
d189b3a335
2 changed files with 5 additions and 5 deletions
|
@ -26,7 +26,7 @@ class Module(bumblebee.engine.Module):
|
|||
cmd="gnome-system-monitor")
|
||||
|
||||
def utilization(self, _):
|
||||
return "{:6.01f}%".format(self._utilization)
|
||||
return "{:.01f}%".format(self._utilization)
|
||||
|
||||
def update(self, widgets):
|
||||
self._utilization = psutil.cpu_percent(percpu=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue