about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/defaults/apps.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 37099d04..5cd39083 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -78,7 +78,7 @@ class CustomApplications(Applications):
 			return self.either(c, 'mplayer', 'totem')
 
 		if f.image:
-			return self.either(c, 'feh', 'mirage')
+			return self.either(c, 'feh', 'eye_of_gnome', 'mirage')
 
 		if f.document:
 			return self.app_editor(c)
@@ -127,6 +127,11 @@ class CustomApplications(Applications):
 		else:
 			return tup('mplayer', '-fs', *c)
 
+	@depends_on("eog")
+	def app_eye_of_gnome(self, c):
+		c.flags += 'd'
+		return tup('eog', *c)
+
 	@depends_on('mirage')
 	def app_mirage(self, c):
 		c.flags += 'd'