diff options
author | Michael Reed <michaelreed@crucialflow.com> | 2018-10-23 19:46:59 -0400 |
---|---|---|
committer | Michael Reed <michaelreed@crucialflow.com> | 2018-10-24 09:00:05 -0400 |
commit | ef79657fc718ebd1c90c208bbe5f4d69d2bd3a30 (patch) | |
tree | b2bb318fecf0af2c64e09741bf0a296ed1274720 | |
parent | c4b84b010527ae40aec865b46393effbdde67385 (diff) | |
download | ranger-ef79657fc718ebd1c90c208bbe5f4d69d2bd3a30.tar.gz |
inserted fmt to the DJVU text conversion
-rwxr-xr-x | ranger/data/scope.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index dfc55aef..bf67c906 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -96,8 +96,8 @@ handle_image() { # DJVU image/vnd.djvu) - # Preview as text conversion - djvutxt "${FILE_PATH}" && exit 5 + # Preview as text conversion (requires djvulibre) + djvutxt "${FILE_PATH}" | fmt -w ${PV_WIDTH} && exit 5 exiftool "${FILE_PATH}" && exit 5 exit 1;; |