diff --git a/home/common/files/neomutt/mailcap b/home/common/files/neomutt/mailcap index 6e0e3cd..c6af296 100644 --- a/home/common/files/neomutt/mailcap +++ b/home/common/files/neomutt/mailcap @@ -11,7 +11,7 @@ application/vnd.ms-excel; excel2text %s; copiousoutput application/x-vCalendar; mutt-remind application/x-zip-compressed; unzip -v %s ; copiousoutput application/vnd.openxmlformats-officedocument.wordprocessingml.document; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' -application/vnd.openxmlformats-officedocument.wordprocessingml.document; docx2txt '%s' -; copiousoutput +application/vnd.openxmlformats-officedocument.wordprocessingml.document; docx2txt '%s'; copiousoutput application/msword; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' application/msword; catdoc '%s' ; copiousoutput application/vnd.msword; mutt_bgrun libreoffice %s; test=sh -c 'test -n $DISPLAY' diff --git a/hosts/workstation/default.nix b/hosts/workstation/default.nix index 35a373a..34bc523 100644 --- a/hosts/workstation/default.nix +++ b/hosts/workstation/default.nix @@ -13,6 +13,7 @@ python-dateutil setuptools requests + docx2txt ]; python-with-my-packages = pkgs.python3Full.withPackages my-python-packages; in {