Update diskspace()

Delete extra space! (looks better without the extra space. and now it's consistent with other widgets.)
This commit is contained in:
yashar-sb-sb 2017-03-09 23:41:55 +03:30 committed by GitHub
parent 3f96102b28
commit 422348e01d

View file

@ -28,7 +28,7 @@ class Module(bumblebee.engine.Module):
cmd="nautilus {}".format(self._path)) cmd="nautilus {}".format(self._path))
def diskspace(self, widget): def diskspace(self, widget):
return "\uf0a0 {} {}/{} ({:05.02f}%)".format(self._path, return "\uf0a0{} {}/{} ({:05.02f}%)".format(self._path,
bumblebee.util.bytefmt(self._used), bumblebee.util.bytefmt(self._used),
bumblebee.util.bytefmt(self._size), self._perc bumblebee.util.bytefmt(self._size), self._perc
) )