summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-17 01:53:11 +0100
committerhut <hut@lavabit.com>2010-03-17 01:53:11 +0100
commit0e2b31644b22395e70a4f431c84c8886aa7106b6 (patch)
tree4b7b60fa666bcaf63f69c940990aebcd545dbfd1
parentdc6e758134004d17bb5e6b43e840e725881ef4a2 (diff)
downloadranger-0e2b31644b22395e70a4f431c84c8886aa7106b6.tar.gz
apps: added zathura
-rw-r--r--ranger/defaults/apps.py6
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)
lame/html/104test.subx.html?h=main&id=1ff9dde13ba00ca3c6ea3cf1d1178c06d83da1c5'>^
20d6be52 ^
dc5a0acf ^

20d6be52 ^

52e3ea8a ^
20d6be52 ^
52e3ea8a ^
20d6be52 ^





1fca8ee1 ^
20d6be52 ^




























3350c34a ^
20d6be52 ^









dd60caa3 ^
20d6be52 ^










dd60caa3 ^
20d6be52 ^





dd60caa3 ^


















20d6be52 ^



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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108