From 8389d8c1114512bffd5c4a8285b6e995ea5c42e5 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 1 Apr 2016 20:07:38 +0200 Subject: Midnight Commander-like colors --- ranger/colorschemes/default.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py index e5dbf3a6..ec12f7f9 100644 --- a/ranger/colorschemes/default.py +++ b/ranger/colorschemes/default.py @@ -13,6 +13,22 @@ class Default(ColorScheme): if context.reset: return default_colors + elif context.in_browser: + bg = blue if context.active_pane else cyan + fg = white + + if not context.selected and context.directory: + attr |= bold + + if context.marked: + bg = red + if context.tag_marker: + fg = black + attr &= ~bold + if context.selected: + bg = cyan if context.active_pane else blue + fg = black + elif context.in_browser: if context.selected: attr = reverse -- cgit 1.4.1-2-gfad0