Update diskspace()
Add hdd icon.
This commit is contained in:
parent
dfb5bfe71c
commit
3f96102b28
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# pylint: disable=C0111,R0903
|
||||
|
||||
"""Shows free diskspace, total diskspace and the percentage of free disk space.
|
||||
-
|
||||
|
||||
Parameters:
|
||||
* disk.warning: Warning threshold in % of disk space (defaults to 80%)
|
||||
* disk.critical: Critical threshold in % of disk space (defaults ot 90%)
|
||||
|
@ -28,7 +28,7 @@ class Module(bumblebee.engine.Module):
|
|||
cmd="nautilus {}".format(self._path))
|
||||
|
||||
def diskspace(self, widget):
|
||||
return "{} {}/{} ({:05.02f}%)".format(self._path,
|
||||
return "\uf0a0 {} {}/{} ({:05.02f}%)".format(self._path,
|
||||
bumblebee.util.bytefmt(self._used),
|
||||
bumblebee.util.bytefmt(self._size), self._perc
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue