summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-06 18:50:21 +0100
committerhut <hut@lavabit.com>2009-12-06 18:50:21 +0100
commit9adf06de919e2e6b1de07054bb64145c1cde9b89 (patch)
treea5daba93d9fc96c7124fb9b44d0c6d77ff84b291
parent7c5c70fd87e79db6d6010c6e8ae3dd6d09d5e2b5 (diff)
downloadranger-9adf06de919e2e6b1de07054bb64145c1cde9b89.tar.gz
jungle color scheme
-rw-r--r--ranger/colorschemes/jungle.py50
1 files changed, 50 insertions, 0 deletions
diff --git a/ranger/colorschemes/jungle.py b/ranger/colorschemes/jungle.py
new file mode 100644
index 00000000..5f575238
--- /dev/null
+++ b/ranger/colorschemes/jungle.py
@@ -0,0 +1,50 @@
+from ranger.gui.colorscheme import ColorScheme
+from ranger.gui.color import *
+
+class Default(ColorScheme):
+	def use(self, context):
+		fg, bg, attr = default_colors
+
+		if context.reset:
+			pass
+
+		elif context.in_display:
+			if context.selected:
+				attr = reverse
+			else:
+				attr = normal
+
+			if context.empty or context.error:
+				bg = red
+
+			if context.media:
+				fg = magenta # fruits
+
+			if context.container:
+				fg = red # flowers
+
+			if context.directory:
+				fg = green # trees =)
+
+			elif context.executable and not any((context.media, context.container)):
+				fg = yellow # banananas
+
+			if context.link:
+				fg = cyan
+
+			if context.maindisplay and context.selected:
+				attr |= bold
+
+		elif context.in_titlebar:
+			attr |= bold
+
+			if context.hostname:
+				fg = green
+
+			elif context.directory:
+				fg = blue
+
+			elif context.link:
+				fg = cyan
+
+		return fg, bg, attr
7990a25dc3371adceb9d54b'>^
f0f0dbfd ^
f9737251 ^











f0f0dbfd ^
e2443511 ^



105c9c29 ^
95b639a2 ^
105c9c29 ^
e2443511 ^
a2726b6a ^
4bf67fb3 ^
a2726b6a ^
4bf67fb3 ^
e2443511 ^

5cdd69f4 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49