diff --git a/libexec/render.py b/libexec/render.py index c6862b4..8d440c9 100755 --- a/libexec/render.py +++ b/libexec/render.py @@ -22,6 +22,7 @@ COLOR_TERM_SCREEN = 27 COLOR_CLOCK = 27 COLOR_CLOCK_DELTA = 11 COLOR_MEMSWAP = 7 +COLOR_SPACE_BTRFS = 12 COLOR_SPACE_OK = 2 COLOR_SPACE_WARN = 3 COLOR_SPACE_ERROR = 1 @@ -617,7 +618,9 @@ class StatsPart(Part): self.fragments.append(" |") first_mountpoint = False + if type == "btrfs": self.fragments.append(style_color(COLOR_SPACE_BTRFS)) self.fragments.append(short_name) + if type == "btrfs": self.fragments.append(style_reset()) self.fragments.append(style_bold()) self.fragments.append(style_color(settings.get_space_color(stor_free, stor_total))) stor_free_si = si_number(stor_free)