]> git.phdru.name Git - dotfiles.git/blobdiff - .mc/menu
mc.ext, menu: view PostScript with evince
[dotfiles.git] / .mc / menu
index 730357a2aa3ec095ebc9a881749d902607e468d6..e07c1669919410de8882bb0ba06ae34ba001f410 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -65,8 +65,8 @@ o  View OpenDoc with odt2txt
 e  Edit OpenDoc with libreoffice
    libreoffice %f &
 
-+= t r & f \.(pdf|PDF|djvu)(\.bz2|\.gz)?$
-e  View pdf/djvu with evince
++= t r & f \.(pdf|PDF|ps|PS|djvu)(\.bz2|\.gz)?$
+e  View pdf/ps/djvu with evince
    evince %f &
 
 += t r & f \.(doc|DOC|rtf)$
@@ -79,7 +79,11 @@ e  Edit doc with libreoffice
 
 += t r & f \.(docx|DOCX)$
 d  View docx with docx2txt
-   docx2txt %f - | ${PAGER:-more}
+   docx2txt %f - | iconv.py -f utf-8 | ${PAGER:-more}
+
++ t r & f \.(docx|DOCX)$
+e  Edit docx with libreoffice
+   libreoffice %f &
 
 += t r & f \.(xls|XLS)$
 x  View xls with xls2csv