aboutsummaryrefslogtreecommitdiff
path: root/config.dot/ranger/rifle.conf.link
diff options
context:
space:
mode:
Diffstat (limited to 'config.dot/ranger/rifle.conf.link')
-rw-r--r--config.dot/ranger/rifle.conf.link11
1 files changed, 11 insertions, 0 deletions
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 -- "$@"