From 9222c7dedad1e481a5d6e8cbf9aa0605ad5696dc Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 5 May 2018 02:32:40 +0300 Subject: [PATCH] .mc/: Use djview to view djvu --- .mc/mc.ext | 4 ++-- .mc/menu | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) 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} -- 2.39.2