summaryrefslogtreecommitdiffstats
path: root/.config/lf/scope
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-03-16 13:13:55 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2022-03-16 13:13:55 +0100
commit8da8b6ccbf87419442bb2dc0f0106c7b3c4e2ef8 (patch)
treebc65150b011fea83cfd1307684368025a316eb96 /.config/lf/scope
parentlf update (diff)
downloaddotfiles-bsd-8da8b6ccbf87419442bb2dc0f0106c7b3c4e2ef8.tar.gz
dotfiles-bsd-8da8b6ccbf87419442bb2dc0f0106c7b3c4e2ef8.tar.bz2
dotfiles-bsd-8da8b6ccbf87419442bb2dc0f0106c7b3c4e2ef8.tar.xz
dotfiles-bsd-8da8b6ccbf87419442bb2dc0f0106c7b3c4e2ef8.tar.zst
dotfiles-bsd-8da8b6ccbf87419442bb2dc0f0106c7b3c4e2ef8.zip
lf update again
Diffstat (limited to '')
-rwxr-xr-x.config/lf/scope1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/lf/scope b/.config/lf/scope
index 3bc2f9c..267e5bf 100755
--- a/.config/lf/scope
+++ b/.config/lf/scope
@@ -33,6 +33,7 @@ case "$(file --dereference --brief --mime-type -- "$1")" in
video/* ) mediainfo "$1" || exit 1 ;;
*/pdf) pdftotext "$1" - || exit 1 ;;
*opendocument*) odt2txt "$1" || exit 1;;
+ application/vnd.openxmlformats-officedocument.wordprocessingml.document) docx2txt "$1" ;;
application/pgp-encrypted) gpg -d -- "$1" ;;
esac
exit 1