aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2020-01-08 01:17:31 -0700
committerkatherine <ageha@airen-no-jikken.icu>2020-01-08 01:17:31 -0700
commit1da029727b32f09516422b1d62c8581098079ff0 (patch)
treeaab9c0e823395405ca8a13f79fe7e46b0638238b
parentf799eb60e084ad98988edb2ad829e8d3711f3bc4 (diff)
downloaddotfiles-1da029727b32f09516422b1d62c8581098079ff0.tar.gz
support epub in rifle
-rw-r--r--.config/ranger/rifle.conf6
1 files changed, 5 insertions, 1 deletions
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 -- "$@"