]> git.phdru.name Git - dotfiles.git/blobdiff - .mc/menu
screen: Allow 2 different sessions with KOI8-R and UTF-8 locales
[dotfiles.git] / .mc / menu
index d33756212cd99869d11dd288889378b8d866c745..8f2acbe6d225b63b49c618a359cee8211ada91a6 100644 (file)
--- 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)?$
@@ -90,6 +94,9 @@ o  View OpenDoc with odt2txt
 d  View docx with docx2txt
    docx2txt %f - | iconv.py -f utf-8 | ${PAGER:-more}
 
++= t lr & f \.(xls|XLS|xlsx|XLSX)$
+o  View OpenXlsx with xlsx2csv
+   xlsx2csv %f | iconv.py -f utf-8 | ${PAGER:-more}
 
 += t lr & f \.(xls|XLS)$
 x  View xls with xls2csv