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
1 changed files with 1 additions and 1 deletions

View File

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