]> gitweb.fluxo.info Git - rhatto/dotfiles/ranger.git/commitdiff
Do not preview DJVU files
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 22 Aug 2021 21:14:33 +0000 (18:14 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 22 Aug 2021 21:14:33 +0000 (18:14 -0300)
config.dot/ranger/scope.sh.link

index 13a25b45bc2e30bd94e07cfbcd036a1b9eedb0df..704e9217f31ef0737ca2fb26fc47469915189d38 100755 (executable)
@@ -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