From: Oleg Broytman Date: Fri, 4 May 2018 23:32:40 +0000 (+0300) Subject: .mc/: Use djview to view djvu X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=9222c7dedad1e481a5d6e8cbf9aa0605ad5696dc;p=dotfiles.git .mc/: Use djview to view djvu --- diff --git a/.mc/mc.ext b/.mc/mc.ext index c55d41a..051cc26 100644 --- a/.mc/mc.ext +++ b/.mc/mc.ext @@ -693,9 +693,9 @@ shell/.chm # DejaVu shell/.djvu - #Open=djview %f & + Open=djview %f & #Open=evince %f & - Open=qpdfview %f & + #Open=qpdfview %f & # EPUB shell/.epub diff --git a/.mc/menu b/.mc/menu index c30570e..b0b11b8 100644 --- a/.mc/menu +++ b/.mc/menu @@ -57,10 +57,14 @@ T fb2txt esac $A %f | xsltproc /usr/local/src/FictionBook/FB2_2_txt_ru.xsl - | webstdin -e txt -t -+= t r & f \.(pdf|PDF|ps|PS|djvu)(\.bz2|\.gz)?$ -e View pdf/ps/djvu ++= t r & f \.(pdf|PDF|ps|PS)(\.bz2|\.gz)?$ +e View pdf/ps qpdfview %f & ++= t r & f \.djvu(\.bz2|\.gz)?$ +e View djvu + djview %f & + += t r & f \.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$ o View OpenDoc with odt2txt odt2txt %f | ${PAGER:-more}