summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-08-12 20:07:44 +0200
committerhut <hut@lavabit.com>2012-08-12 20:07:44 +0200
commit8afdf6ebd25a498f2dafcb89412f565f5c815a40 (patch)
treed5ba57e71de1a0535199a2e5aa6ac422287c528b
parent44712346bbfd019c09471134c0921c8968273ebf (diff)
downloadranger-8afdf6ebd25a498f2dafcb89412f565f5c815a40.tar.gz
colorschemes.default: changed color of progressbar to blue
-rw-r--r--ranger/colorschemes/default.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py
index db9dd2bb..839ec13d 100644
--- a/ranger/colorschemes/default.py
+++ b/ranger/colorschemes/default.py
@@ -5,6 +5,8 @@ from ranger.gui.colorscheme import ColorScheme
 from ranger.gui.color import *
 
 class Default(ColorScheme):
+	progress_bar_color = blue
+
 	def use(self, context):
 		fg, bg, attr = default_colors
 
@@ -91,7 +93,7 @@ class Default(ColorScheme):
 					attr |= bold
 					fg = red
 			if context.loaded:
-				bg = green
+				bg = self.progress_bar_color
 
 		if context.text:
 			if context.highlight:
@@ -106,8 +108,8 @@ class Default(ColorScheme):
 
 			if context.loaded:
 				if context.selected:
-					fg = green
+					fg = self.progress_bar_color
 				else:
-					bg = green
+					bg = self.progress_bar_color
 
 		return fg, bg, attr