summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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
s Booth <boothj5@gmail.com> 2015-05-27 01:06:17 +0100 committer James Booth <boothj5@gmail.com> 2015-05-27 01:06:17 +0100 Simplified expect tests' href='/danisanti/profani-tty/commit/stabbertests/test_connect.c?id=db9376d82bcb71caae627b05f79849369798aa2f'>db9376d8 ^
5aab876a ^
7f98e013 ^
db9376d8 ^





a48b9fce ^
79ecff1c ^
5aab876a ^
7f98e013 ^
a28f0d9e ^
e2fa67fa ^
79ecff1c ^

7fb00a1e ^
db9376d8 ^


a48b9fce ^
db9376d8 ^
5aab876a ^
7f98e013 ^


db9376d8 ^







6640a089 ^
a48b9fce ^
db9376d8 ^
a522d022 ^
db9376d8 ^

37600846 ^
f17afcf5 ^
37600846 ^
a48b9fce ^
37600846 ^
a48b9fce ^
7f98e013 ^
37600846 ^


a48b9fce ^



7f98e013 ^
37600846 ^


a48b9fce ^



7f98e013 ^
37600846 ^



a522d022 ^
f8c5ed57 ^

7f98e013 ^
f8c5ed57 ^



a522d022 ^
37600846 ^
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95