]> git.phdru.name Git - dotfiles.git/commitdiff
.mc/: Use djview to view djvu
authorOleg Broytman <phd@phdru.name>
Fri, 4 May 2018 23:32:40 +0000 (02:32 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 4 May 2018 23:32:40 +0000 (02:32 +0300)
.mc/mc.ext
.mc/menu

index c55d41a8ccd34792db2266a8abceaf49d1e3754e..051cc263f3c4482b4ad327e57455f40fba130f6c 100644 (file)
@@ -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
index c30570e1b6fbcf27e0323ebadfede29128eba512..b0b11b8aa411a28229bf0b2fca07f912cade9043 100644 (file)
--- 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}