diff options
author | hut <hut@lavabit.com> | 2012-08-12 20:16:06 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-08-12 20:16:06 +0200 |
commit | b2e7394d9d36453194d0eab72f3410017efcfb57 (patch) | |
tree | dfcb8ed87738e45ebd0b7261ec9ca37d29ae4e09 /ranger | |
parent | 17d6e6168d394d92526e934ed6832e68cab3ee57 (diff) | |
download | ranger-b2e7394d9d36453194d0eab72f3410017efcfb57.tar.gz |
colorschemes.snow: updated to work with progressbars and taskview
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/colorschemes/snow.py | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/ranger/colorschemes/snow.py b/ranger/colorschemes/snow.py index c5940cc8..50a41b58 100644 --- a/ranger/colorschemes/snow.py +++ b/ranger/colorschemes/snow.py @@ -14,9 +14,6 @@ class Snow(ColorScheme): elif context.in_browser: if context.selected: attr = reverse - else: - attr = normal - if context.directory: attr |= bold @@ -26,4 +23,16 @@ class Snow(ColorScheme): elif context.in_titlebar and context.tab and context.good: attr |= reverse + elif context.in_statusbar: + if context.loaded: + attr |= reverse + if context.marked: + attr |= reverse + + elif context.in_taskview: + if context.selected: + attr |= bold + if context.loaded: + attr |= reverse + return fg, bg, attr |