diff options
author | hut <hut@lavabit.com> | 2009-06-15 20:01:25 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-06-15 20:01:25 +0200 |
commit | 136e534c0a4142546ae5c34efadd9dccdada9a82 (patch) | |
tree | b04f9957b0f5e34be190c5bb2acd6d19e2be3dd2 | |
parent | 3b967916bdb9cd0c5fb289a5ac1087b5e50bd3c3 (diff) | |
download | ranger-136e534c0a4142546ae5c34efadd9dccdada9a82.tar.gz |
add colors for video + image + sound
-rw-r--r-- | code/fm/draw.rb | 4 | ||||
-rw-r--r-- | data/colorscheme/default.rb | 7 |
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 |