also send mutool to $PAGER (#615)

This commit is contained in:
basbebe 2020-05-30 15:18:12 +02:00 committed by GitHub
parent 309ed0ed67
commit 3feae709ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ handle_pdf() {
pdftotext -l 10 -nopgbrk -q -- "${FPATH}" - | eval "$PAGER" pdftotext -l 10 -nopgbrk -q -- "${FPATH}" - | eval "$PAGER"
exit 0 exit 0
elif which mutool >/dev/null 2>&1; then elif which mutool >/dev/null 2>&1; then
mutool draw -F txt -i -- "${FPATH}" 1-10 mutool draw -F txt -i -- "${FPATH}" 1-10 | eval "$PAGER"
exit 0 exit 0
elif which exiftool >/dev/null 2>&1; then elif which exiftool >/dev/null 2>&1; then
exiftool "${FPATH}" | eval "$PAGER" exiftool "${FPATH}" | eval "$PAGER"