diff options
author | hut <hut@lavabit.com> | 2010-03-17 01:53:11 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-17 01:53:11 +0100 |
commit | 0e2b31644b22395e70a4f431c84c8886aa7106b6 (patch) | |
tree | 4b7b60fa666bcaf63f69c940990aebcd545dbfd1 | |
parent | dc6e758134004d17bb5e6b43e840e725881ef4a2 (diff) | |
download | ranger-0e2b31644b22395e70a4f431c84c8886aa7106b6.tar.gz |
apps: added zathura
-rw-r--r-- | ranger/defaults/apps.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py index e2def3d3..347b9ce2 100644 --- a/ranger/defaults/apps.py +++ b/ranger/defaults/apps.py @@ -59,7 +59,7 @@ class CustomApplications(Applications): if f.extension is not None: if f.extension in ('pdf'): - return self.either(c, 'evince', 'apvlv') + return self.either(c, 'evince', 'zathura', 'apvlv') if f.extension in ('html', 'htm', 'xhtml', 'swf'): return self.either(c, 'firefox', 'opera', 'elinks') if f.extension in ('swc', 'smc'): @@ -220,6 +220,10 @@ class CustomApplications(Applications): def app_evince(self, c): return tup("evince", *c) + @depends_on('zathura') + def app_zathura(self, c): + return tup("zathura", *c) + @depends_on('wine') def app_wine(self, c): return tup("wine", c.file.path) |