diff options
-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) |