summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-04-07 00:01:30 +0200
committerhut <hut@lepus.uberspace.de>2016-04-07 00:04:51 +0200
commit2be312be3cb39d23da56e49853c2fe9a85160927 (patch)
tree313a6aceaeb8edfb6e882dc3e9e2255a916cf37b
parent1869ebdfe44dccc9978fde92ffa5a27258d91e0c (diff)
downloadranger-2be312be3cb39d23da56e49853c2fe9a85160927.tar.gz
colorschemes: tint the inactive pane in multipane view in cyan
-rw-r--r--ranger/colorschemes/default.py3
-rw-r--r--ranger/colorschemes/jungle.py3
2 files changed, 5 insertions, 1 deletions
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: