about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorArtyom Veremeenko <arwer13@gmail.com>2015-03-29 13:03:18 +0300
committerArtyom Veremeenko <arwer13@gmail.com>2015-03-29 13:03:18 +0300
commit41f9d8ccd5ace9d9863397afad84b43412605d42 (patch)
treec76d049a234a0598c7aef2d599ef36772152f8c3
parent83bb5b85c2fff3ca3fc9f36ee74f38e8550cfe0d (diff)
downloadranger-41f9d8ccd5ace9d9863397afad84b43412605d42.tar.gz
rifle.conf: openers for images placed after openers for documents.
It fixes, for instance, problem with djvu files opened by image viewers.
-rw-r--r--ranger/config/rifle.conf22
1 files changed, 11 insertions, 11 deletions
diff --git a/ranger/config/rifle.conf b/ranger/config/rifle.conf
index f4b438c7..8e98f966 100644
--- a/ranger/config/rifle.conf
+++ b/ranger/config/rifle.conf
@@ -133,17 +133,6 @@ mime ^video, terminal, !X, has mplayer2  = mplayer2 -- "$@"
 mime ^video, terminal, !X, has mplayer   = mplayer -- "$@"
 
 #-------------------------------------------
-# Image Viewing:
-#-------------------------------------------
-mime ^image, has sxiv,   X, flag f = sxiv -- "$@"
-mime ^image, has feh,    X, flag f = feh -- "$@"
-mime ^image, has mirage, X, flag f = mirage -- "$@"
-mime ^image, has eog,    X, flag f = eog -- "$@"
-mime ^image, has eom,    X, flag f = eom -- "$@"
-mime ^image, has gimp,   X, flag f = gimp -- "$@"
-ext xcf,                 X, flag f = gimp -- "$@"
-
-#-------------------------------------------
 # Documents
 #-------------------------------------------
 ext pdf, has llpp,     X, flag f = llpp "$@"
@@ -169,6 +158,17 @@ ext djvu, has evince, X, flag f = evince -- "$@"
 ext djvu, has atril,  X, flag f = atril -- "$@"
 
 #-------------------------------------------
+# Image Viewing:
+#-------------------------------------------
+mime ^image, has sxiv,   X, flag f = sxiv -- "$@"
+mime ^image, has feh,    X, flag f = feh -- "$@"
+mime ^image, has mirage, X, flag f = mirage -- "$@"
+mime ^image, has eog,    X, flag f = eog -- "$@"
+mime ^image, has eom,    X, flag f = eom -- "$@"
+mime ^image, has gimp,   X, flag f = gimp -- "$@"
+ext xcf,                 X, flag f = gimp -- "$@"
+
+#-------------------------------------------
 # Archives
 #-------------------------------------------
 # This requires atool