From 2be312be3cb39d23da56e49853c2fe9a85160927 Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 7 Apr 2016 00:01:30 +0200 Subject: colorschemes: tint the inactive pane in multipane view in cyan --- ranger/colorschemes/default.py | 3 +++ ranger/colorschemes/jungle.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py index e5dbf3a6..37b372a3 100644 --- a/ranger/colorschemes/default.py +++ b/ranger/colorschemes/default.py @@ -67,6 +67,9 @@ class Default(ColorScheme): else: fg = magenta + if context.inactive_pane: + fg = cyan + elif context.in_titlebar: attr |= bold if context.hostname: diff --git a/ranger/colorschemes/jungle.py b/ranger/colorschemes/jungle.py index a4fb1c1d..5a9fe924 100644 --- a/ranger/colorschemes/jungle.py +++ b/ranger/colorschemes/jungle.py @@ -9,7 +9,8 @@ class Scheme(Default): def use(self, context): fg, bg, attr = Default.use(self, context) - if context.directory and not context.marked and not context.link: + if context.directory and not context.marked and not context.link + and not context.inactive_pane: fg = green if context.in_titlebar and context.hostname: -- cgit 1.4.1-2-gfad0