about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-15 20:01:25 +0200
committerhut <hut@lavabit.com>2009-06-15 20:01:25 +0200
commit136e534c0a4142546ae5c34efadd9dccdada9a82 (patch)
treeb04f9957b0f5e34be190c5bb2acd6d19e2be3dd2
parent3b967916bdb9cd0c5fb289a5ac1087b5e50bd3c3 (diff)
downloadranger-136e534c0a4142546ae5c34efadd9dccdada9a82.tar.gz
add colors for video + image + sound
-rw-r--r--code/fm/draw.rb4
-rw-r--r--data/colorscheme/default.rb7
2 files changed, 11 insertions, 0 deletions
diff --git a/code/fm/draw.rb b/code/fm/draw.rb
index 482abf59..9d12afb1 100644
--- a/code/fm/draw.rb
+++ b/code/fm/draw.rb
@@ -92,6 +92,10 @@ module Fm
 				:directory
 			elsif f.movie?
 				:video
+			elsif f.audio?
+				:sound
+			elsif f.image?
+				:image
 			elsif f.executable?
 				:executable
 			else
diff --git a/data/colorscheme/default.rb b/data/colorscheme/default.rb
index 5b36433d..91e5ff57 100644
--- a/data/colorscheme/default.rb
+++ b/data/colorscheme/default.rb
@@ -8,6 +8,9 @@ module Color
 	@link = cyan, default, none
 	@directory = blue, default, none
 	@media = pink, default, none
+	@video = pink, default, none
+	@image = yellow, default, none
+	@sound = green, default, none
 	@executable = green, default, none
 
 	@butt = default, default, none
@@ -27,6 +30,10 @@ module Color
 		@directory = blue, default, reverse | bold
 		@media = pink, default, reverse | bold
 		@executable = green, default, reverse | bold
+
+		@video = pink, default, reverse | bold
+		@image = yellow, default, reverse | bold
+		@sound = green, default, reverse | bold
 	end
 end
 
ram <vc@akkartik.com> 2018-06-17 00:29:22 -0700 4261 - start using literals for 'true' and 'false'' href='/akkartik/mu/commit/same-fringe.mu?h=hlt&id=dd66068298b0a11f2a1f195376cba98e0c8570b5'>dd660682 ^
c082c2f2 ^

















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