diff options
Diffstat (limited to 'ranger/gui/widgets/statusbar.py')
-rw-r--r-- | ranger/gui/widgets/statusbar.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py index 0fcab000..a1fc4973 100644 --- a/ranger/gui/widgets/statusbar.py +++ b/ranger/gui/widgets/statusbar.py @@ -25,6 +25,7 @@ from grp import getgrgid from os import getuid from time import strftime, localtime +from ranger.ext.human_readable import human_readable from . import Widget from ranger.gui.bar import Bar @@ -198,6 +199,10 @@ class StatusBar(Widget): max_pos = len(target) - self.column.hei base = 'scroll' + right.add(human_readable(self.env.get_free_space(target.mount_path), + seperator='')) + right.add(" ", "space") + if target.marked_items: # Indicate that there are marked files. Useful if you scroll # away and don't see them anymore. |