X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.mc%2Fmenu;h=8f2acbe6d225b63b49c618a359cee8211ada91a6;hb=b420e4514d9be03902ce1825e6978de6ba2f7ccc;hp=c484d3c8e103eca4f6955dd02bfea8444129fcb6;hpb=3227884a70b602cc8f04c474f131fbaff7ba207c;p=dotfiles.git diff --git a/.mc/menu b/.mc/menu index c484d3c..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)?$