Merge pull request #97 from ibrokemypie/cpu-rounding
[module/cpu] More useful rounding
This commit is contained in:
commit
eafe0a4038
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class Module(bumblebee.engine.Module):
|
|||
cmd="gnome-system-monitor")
|
||||
|
||||
def utilization(self, widget):
|
||||
return "{:06.02f}%".format(self._utilization)
|
||||
return "{:6.01f}%".format(self._utilization)
|
||||
|
||||
def update(self, widgets):
|
||||
self._utilization = psutil.cpu_percent(percpu=False)
|
||||
|
|
Loading…
Reference in a new issue