From 7925e077e4789b0cd9b3c49c7107e33ec51d35b0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 7 Oct 2023 21:15:52 -0300 Subject: Rifle: CBR support (2) --- config.dot/ranger/rifle.conf.link | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'config.dot') diff --git a/config.dot/ranger/rifle.conf.link b/config.dot/ranger/rifle.conf.link index 2ed65e9..b5e0c06 100644 --- a/config.dot/ranger/rifle.conf.link +++ b/config.dot/ranger/rifle.conf.link @@ -212,12 +212,17 @@ ext mobi, has koreader, X, flag f = koreader "$@" # 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 cbr, has mcomix, X, flag f = mcomix -- "$@" ext cbz, has zathura, X, flag f = zathura -- "$@" +ext cbz, has mcomix, X, flag f = mcomix -- "$@" ext cba, has zathura, X, flag f = zathura -- "$@" +ext cba, has mcomix, X, flag f = mcomix -- "$@" ext cbg, has zathura, X, flag f = zathura -- "$@" +ext cbg, has mcomix, X, flag f = mcomix -- "$@" ext cbb, has zathura, X, flag f = zathura -- "$@" +ext cbb, has mcomix, X, flag f = mcomix -- "$@" # 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 -- "$@" -label pager, !mime ^text, !ext xml|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@" + !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 -- "$@" +label pager, !mime ^text, !ext xml|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@" -- cgit v1.2.3