From 2906aa446a27e2bae93436cf8ae0ab4da86e3dd3 Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 21 Jan 2010 04:36:29 +0100 Subject: colorschemes/default: remove unnecessary lines --- ranger/colorschemes/default.py | 14 -------------- 1 file changed, 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 -- cgit 1.4.1-2-gfad0 07e0cc8c4053be46ac3605235468e'>commit diff stats
path: root/.gitignore
blob: 8c110f0012ec57351e6362410e8ae64efa41b4f1 (plain) (blame)
1
2
3
4