aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-08-22 18:14:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-08-22 18:14:33 -0300
commit7730b2314dfac64e892d5f8390eb97cbbef4bb4f (patch)
tree245dc2772547a13758f87417d6a5097af4b10ace
parentade9215688cd773f45d3c1567c55881399696ed8 (diff)
downloadranger-7730b2314dfac64e892d5f8390eb97cbbef4bb4f.tar.gz
ranger-7730b2314dfac64e892d5f8390eb97cbbef4bb4f.tar.bz2
Do not preview DJVU files
-rwxr-xr-xconfig.dot/ranger/scope.sh.link5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.dot/ranger/scope.sh.link b/config.dot/ranger/scope.sh.link
index 13a25b4..704e921 100755
--- a/config.dot/ranger/scope.sh.link
+++ b/config.dot/ranger/scope.sh.link
@@ -94,6 +94,11 @@ handle_image() {
# convert "${FILE_PATH}" "${IMAGE_CACHE_PATH}" && exit 6
# exit 1;;
+ # DJVU
+ image/vnd.djvu)
+ # Skip processing as it's very intensive
+ exit 1;;
+
# Image
image/*)
local orientation