about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-08 01:10:16 +0100
committerhut <hut@lavabit.com>2010-03-08 01:10:16 +0100
commit9f9fcdd2d6e970777fced0bc5b982a4e7021078d (patch)
tree79c92263d8b181fafbf7fd0fb7fda88e8f4bf897
parentb38fa661ad783505e54f4eb4b8529c7cf277ce17 (diff)
downloadranger-9f9fcdd2d6e970777fced0bc5b982a4e7021078d.tar.gz
apps: added mirage app
-rw-r--r--ranger/defaults/apps.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 62cd3b91..cc77640c 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -112,6 +112,12 @@ class CustomApplications(Applications):
 		else:
 			return tup('mplayer', '-fs', *c)
 
+	@depends_on('mirage')
+	def app_mirage(self, c):
+		c.flags += 'd'
+
+		return tup('mirage', *c)
+
 	@depends_on('feh')
 	def app_feh(self, c):
 		arg = {1: '--bg-scale', 2: '--bg-tile', 3: '--bg-center'}