X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.mc%2Fmenu;h=8f2acbe6d225b63b49c618a359cee8211ada91a6;hb=e37710be48c1f92d9103ec6c4325b40ab855d23c;hp=6179a675e81138f9c53260def2b11701278e0736;hpb=8f43d8b72650643db198c9076c354e7614de89db;p=dotfiles.git diff --git a/.mc/menu b/.mc/menu index 6179a67..8f2acbe 100644 --- a/.mc/menu +++ b/.mc/menu @@ -61,8 +61,12 @@ T fb2txt esac $A %f | xsltproc /usr/local/src/FictionBook/FB2_2_txt_ru.xsl - | webstdin -e txt -t ++ t lr & f \.(pdf|PDF)$ +v View pdf + pdftotext -layout -q %f - | iconv.py -f utf-8 | ${PAGER:-more} + += t lr & f \.(pdf|PDF)$ -e View pdf +e View pdf with evince evince %f & += t lr & f \.djvu(\.bz2|\.gz)?$ @@ -92,7 +96,7 @@ d View docx with docx2txt += t lr & f \.(xls|XLS|xlsx|XLSX)$ o View OpenXlsx with xlsx2csv - xlsx2csv %f | iconv -f utf-8 | ${PAGER:-more} + xlsx2csv %f | iconv.py -f utf-8 | ${PAGER:-more} += t lr & f \.(xls|XLS)$ x View xls with xls2csv