diff options
author | Michael Reed <michaelreed@crucialflow.com> | 2018-10-23 13:10:15 -0400 |
---|---|---|
committer | Michael Reed <michaelreed@crucialflow.com> | 2018-10-23 13:10:15 -0400 |
commit | c4b84b010527ae40aec865b46393effbdde67385 (patch) | |
tree | 0770a48073e4a9b14492dcfe50d21ee0266c6495 | |
parent | 16949531f739ccf0cbf8ae543e7282de4291e165 (diff) | |
download | ranger-c4b84b010527ae40aec865b46393effbdde67385.tar.gz |
added support for DJVU text conversion
-rwxr-xr-x | ranger/data/scope.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index 13a25b45..dfc55aef 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -94,6 +94,13 @@ handle_image() { # convert "${FILE_PATH}" "${IMAGE_CACHE_PATH}" && exit 6 # exit 1;; + # DJVU + image/vnd.djvu) + # Preview as text conversion + djvutxt "${FILE_PATH}" && exit 5 + exiftool "${FILE_PATH}" && exit 5 + exit 1;; + # Image image/*) local orientation |