diff --git a/libexec/render.py b/libexec/render.py index 6e4941e..65a6b4d 100755 --- a/libexec/render.py +++ b/libexec/render.py @@ -38,6 +38,8 @@ COLOR_GIT_STAGED = 10 COLOR_PROMPT_OK = 14 COLOR_PROMPT_ERROR = 1 +COLOR_ERROR = 196 + MOUNT_IGNORE_FS = ["iso9660", "tmpfs"] MOUNT_IGNORE_DIR = ["/dev", "/proc", "/sys"] @@ -430,25 +432,33 @@ class StatsPart(Part): swap_total = 0 swap_free = 0 + # MemAvailable is not available on 2**20: