summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-08-12 20:16:06 +0200
committerhut <hut@lavabit.com>2012-08-12 20:16:06 +0200
commitb2e7394d9d36453194d0eab72f3410017efcfb57 (patch)
treedfcb8ed87738e45ebd0b7261ec9ca37d29ae4e09
parent17d6e6168d394d92526e934ed6832e68cab3ee57 (diff)
downloadranger-b2e7394d9d36453194d0eab72f3410017efcfb57.tar.gz
colorschemes.snow: updated to work with progressbars and taskview
-rw-r--r--ranger/colorschemes/snow.py15
1 files changed, 12 insertions, 3 deletions
diff --git a/ranger/colorschemes/snow.py b/ranger/colorschemes/snow.py
index c5940cc8..50a41b58 100644
--- a/ranger/colorschemes/snow.py
+++ b/ranger/colorschemes/snow.py
@@ -14,9 +14,6 @@ class Snow(ColorScheme):
 		elif context.in_browser:
 			if context.selected:
 				attr = reverse
-			else:
-				attr = normal
-
 			if context.directory:
 				attr |= bold
 
@@ -26,4 +23,16 @@ class Snow(ColorScheme):
 		elif context.in_titlebar and context.tab and context.good:
 			attr |= reverse
 
+		elif context.in_statusbar:
+			if context.loaded:
+				attr |= reverse
+			if context.marked:
+				attr |= reverse
+
+		elif context.in_taskview:
+			if context.selected:
+				attr |= bold
+			if context.loaded:
+				attr |= reverse
+
 		return fg, bg, attr