diff options
author | hut <hut@lavabit.com> | 2010-01-21 04:36:29 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-21 04:36:29 +0100 |
commit | 2906aa446a27e2bae93436cf8ae0ab4da86e3dd3 (patch) | |
tree | 25cc6ecc1939f677c3325c89d9cc2f125e23f53a /ranger | |
parent | 9d9687a63e1e07828f788c943b775185dac995f6 (diff) | |
download | ranger-2906aa446a27e2bae93436cf8ae0ab4da86e3dd3.tar.gz |
colorschemes/default: remove unnecessary lines
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/colorschemes/default.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py index 1c7f1e1b..e31e41b3 100644 --- a/ranger/colorschemes/default.py +++ b/ranger/colorschemes/default.py @@ -27,40 +27,29 @@ class Default(ColorScheme): attr = reverse else: attr = normal - if context.empty or context.error: bg = red - if context.media: if context.image: fg = yellow else: fg = magenta - if context.container: fg = red - -# if context.document: -# fg = default - if context.directory: fg = blue - elif context.executable and not \ any((context.media, context.container)): attr |= bold fg = green - if context.link: fg = context.good and cyan or magenta - if context.tag_marker and not context.selected: attr |= bold if fg in (red, magenta): fg = white else: fg = red - if context.main_column: if context.selected: attr |= bold @@ -70,13 +59,10 @@ class Default(ColorScheme): elif context.in_titlebar: attr |= bold - if context.hostname: fg = context.bad and red or green - elif context.directory: fg = blue - elif context.link: fg = cyan |