From 1da029727b32f09516422b1d62c8581098079ff0 Mon Sep 17 00:00:00 2001 From: katherine Date: Wed, 8 Jan 2020 01:17:31 -0700 Subject: support epub in rifle --- .config/ranger/rifle.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index 166bf1d..ecef278 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -85,7 +85,10 @@ mime ^video, has mpv, X, flag f = mpv -- "$@" mime ^video, has mpv, terminal, !X = mpv --vo=tct -- "$@" # documents -ext djvu|pdf|ps, has zathura, X, flag f = zathura -- "$@" +ext djvu|pdf|ps|epub, has zathura, X, flag f = zathura -- "$@" + +ext epub, has calibre, X, flag f = calibre -- "$@" +ext epub, has sigil, X, flag f = sigil "$@" ext tex, has xelatex = xelatex -- "$@" ext tex, has latex = latex "-output-format=pdf" -- "$@" @@ -97,6 +100,7 @@ ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, fla ext sla, has scribus, X, flag f = scribus "$@" + # images ext xcf, has gimp, X, flag f = gimp -- "$@" mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@" -- cgit v1.2.3