diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2023-10-07 21:07:14 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2023-10-07 21:07:14 -0300 |
commit | f51f0b4b7d1c644bd496f1e7463eea45fa9ac0a8 (patch) | |
tree | 0855c2d4706d79aa685776644b9f503f40b914ba | |
parent | 296768277a6591a6b85e65dbf09eb88f97ffd712 (diff) | |
download | ranger-f51f0b4b7d1c644bd496f1e7463eea45fa9ac0a8.tar.gz ranger-f51f0b4b7d1c644bd496f1e7463eea45fa9ac0a8.tar.bz2 |
Rifle: CBR support
-rw-r--r-- | config.dot/ranger/rifle.conf.link | 11 |
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 -- "$@" |