From 41f9d8ccd5ace9d9863397afad84b43412605d42 Mon Sep 17 00:00:00 2001 From: Artyom Veremeenko Date: Sun, 29 Mar 2015 13:03:18 +0300 Subject: rifle.conf: openers for images placed after openers for documents. It fixes, for instance, problem with djvu files opened by image viewers. --- ranger/config/rifle.conf | 22 +++++++++++----------- 1 file 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 @@ -132,17 +132,6 @@ mime ^video, terminal, !X, has mpv = mpv -- "$@" 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 #------------------------------------------- @@ -168,6 +157,17 @@ ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has ooffice, X, f 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 #------------------------------------------- -- cgit 1.4.1-2-gfad0 lue='range'>range
path: root/themes/spawn
blob: 0b4039050de456b0f697bdd9632cb531c86c6c24 (plain) (tree)