From f51f0b4b7d1c644bd496f1e7463eea45fa9ac0a8 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 7 Oct 2023 21:07:14 -0300 Subject: Rifle: CBR support --- config.dot/ranger/rifle.conf.link | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config.dot/ranger/rifle.conf.link b/config.dot/ranger/rifle.conf.link index 6ac6ea9..2ed65e9 100644 --- a/config.dot/ranger/rifle.conf.link +++ b/config.dot/ranger/rifle.conf.link @@ -206,6 +206,17 @@ ext mobi, has fbreader, X, flag f = okular "$@" ext mobi, has okular, X, flag f = okular -- "$@" ext mobi, has koreader, X, flag f = koreader "$@" +#------------------------------------------- +# CBR +#------------------------------------------- +# This requires zathura-cb +# For the supported MIME types, check https://github.com/pwmt/zathura-cb/blob/develop/zathura-cb/plugin.c +ext cbr, has zathura, X, flag f = zathura -- "$@" +ext cbz, has zathura, X, flag f = zathura -- "$@" +ext cba, has zathura, X, flag f = zathura -- "$@" +ext cbg, has zathura, X, flag f = zathura -- "$@" +ext cbb, has zathura, X, flag f = zathura -- "$@" + # Define the editor for non-text files + pager as last action !mime ^text, !ext xml|csv|tex|py|pl|rb|js|sh|php = ask label editor, !mime ^text, !ext xml|csv|tex|py|pl|rb|js|sh|php = $EDITOR -- "$@" -- cgit v1.2.3