Merge pull request #565 from somospocos/align-cpuload
[modules/cpu2] align cpu load
This commit is contained in:
commit
1865b5488b
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class Module(bumblebee.engine.Module):
|
|||
return "{:.2f}GHz".format(self._maxfreq)
|
||||
|
||||
def cpuload(self, _):
|
||||
return "{}%".format(self._cpuload)
|
||||
return "{:>3}%".format(self._cpuload)
|
||||
|
||||
def add_color(self, bar):
|
||||
"""add color as pango markup to a bar"""
|
||||
|
|
Loading…
Reference in a new issue