From c8098c3a69f8e031737a41ce766d607d1a7adedd Mon Sep 17 00:00:00 2001 From: Cyril Levis Date: Mon, 9 Jul 2018 08:14:11 +0200 Subject: [PATCH] also color old paths --- py3status/modules/file_status.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/py3status/modules/file_status.py b/py3status/modules/file_status.py index 5d15b09b0d..3a53bc3583 100644 --- a/py3status/modules/file_status.py +++ b/py3status/modules/file_status.py @@ -149,12 +149,16 @@ def file_status(self): if self.thresholds: self.py3.threshold_get_color(count_path, 'path') + self.py3.threshold_get_color(count_path, 'paths') return { - 'cached_until': self.py3.time_in(self.cache_timeout), - 'full_text': self.py3.safe_format( + 'cached_until': + self.py3.time_in(self.cache_timeout), + 'full_text': + self.py3.safe_format( self.format, { 'path': count_path, + 'paths': count_path, 'format_path': format_path } )