From 46cbd7ddcb241d8d0979410083bb31c6aa95c3c4 Mon Sep 17 00:00:00 2001
From: katherine <ageha@airen-no-jikken.icu>
Date: Wed, 6 Mar 2024 03:25:58 -0700
Subject: use bk for epub

maybe temporary, but little project at https://github.com/aeosynth/bk

dumb forked for keybind change
---
 .config/ranger/rifle.conf | 7 ++++---
 1 file 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" -- "$@"
-- 
cgit v1.2.3