diff options
author | hut <hut@lavabit.com> | 2009-06-13 02:33:35 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-06-13 02:33:35 +0200 |
commit | 46ad9bb591d057715fcd63376326336f3339fba7 (patch) | |
tree | 017800b49d26f5454a19469fbadd72f677883cb2 /data/apps.rb | |
parent | 2887ca25fb58362d5d644ecda5f0bc51c80ec404 (diff) | |
download | ranger-46ad9bb591d057715fcd63376326336f3339fba7.tar.gz |
cleaning up
Diffstat (limited to 'data/apps.rb')
-rw-r--r-- | data/apps.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/apps.rb b/data/apps.rb index 6ba7f44b..dc65d1a7 100644 --- a/data/apps.rb +++ b/data/apps.rb @@ -23,9 +23,9 @@ module Application def feh(rc) check rc case rc.mode - when 4; "feh --bg-scale #{~rc.first}" - when 5; "feh --bg-tile #{~rc.first}" - when 6; "feh --bg-center #{~rc.first}" + when 4; "feh --bg-scale #{rc.one}" + when 5; "feh --bg-tile #{rc.one}" + when 6; "feh --bg-center #{rc.one}" when 2; "gimp #{~rc}" when 1; "feh -F #{~rc}" else "feh #{~rc}" @@ -35,7 +35,7 @@ module Application def interpreted_language(rc) check rc case rc.mode - when 1; "./#{~rc.first}" + when 1; rc.first.executable? ? "#{rc.one}" : nil when 0; vi(rc) else nil end end |