From f8cf65bda917197c7ef422a48d26fc88654cb9a4 Mon Sep 17 00:00:00 2001 From: don philipe Date: Tue, 19 Aug 2025 10:27:11 +0200 Subject: [PATCH] Add doxx for docx file preview in ranger --- .config/ranger/scope.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/ranger/scope.sh b/.config/ranger/scope.sh index 540c60e..daf8af1 100755 --- a/.config/ranger/scope.sh +++ b/.config/ranger/scope.sh @@ -87,6 +87,12 @@ handle_extension() { pandoc -s -t markdown -- "${FILE_PATH}" && exit 5 exit 1;; + ## DOCX + docx) + ## Uses: https://github.com/bgreenwell/doxx + doxx "${FILE_PATH}" && exit 5 + exit 1;; + ## XLSX xlsx) ## Preview as csv conversion