aboutsummaryrefslogtreecommitdiffstats
path: root/.config/ranger
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2024-03-06 03:25:58 -0700
committerkatherine <ageha@airen-no-jikken.icu>2024-03-06 03:25:58 -0700
commit46cbd7ddcb241d8d0979410083bb31c6aa95c3c4 (patch)
treecb2811a8c2a3064042aff028f550300d6d4d786f /.config/ranger
parent744bf4f2dfefda410e892f5165ba99c7f09dd3de (diff)
downloaddotfiles-46cbd7ddcb241d8d0979410083bb31c6aa95c3c4.tar.gz
use bk for epub
maybe temporary, but little project at https://github.com/aeosynth/bk dumb forked for keybind change
Diffstat (limited to '.config/ranger')
-rw-r--r--.config/ranger/rifle.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf
index 18d5989..d973e00 100644
--- a/.config/ranger/rifle.conf
+++ b/.config/ranger/rifle.conf
@@ -85,13 +85,14 @@ mime ^video, has mpv, X, flag f = mpv -- "$@"
mime ^video, has mpv, terminal, !X = mpv --vo=tct -- "$@"
# documents
-ext djvu|pdf|ps|epub, has zathura, X, flag f = zathura -- "$@"
-ext epub, has foliate, X, flag f = foliate -- "$@"
+ext djvu|pdf|ps, has zathura, X, flag f = zathura -- "$@"
ext djvu|pdf, has evince, X, flag f = evince -- "$@"
ext djvu|pdf, has inkscape, X, flag f = inkscape -- "$@"
+ext epub, has bk, flag f = alacritty -o "font.size=12" -e bk "$@"
+ext epub, has foliate, X, flag f = foliate -- "$@"
ext epub, has calibre, X, flag f = calibre -- "$@"
-ext epub, has sigil, X, flag f = sigil "$@"
+ext epub, has sigil, X, flag f = sigil "$@"
ext tex, has xelatex = xelatex -- "$@"
ext tex, has latex = latex "-output-format=pdf" -- "$@"