Skip to content

Commit

Permalink
also color old paths
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrinux committed Jul 9, 2018
1 parent 49f3c5f commit c8098c3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions py3status/modules/file_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
)
Expand Down

0 comments on commit c8098c3

Please sign in to comment.