]> git.phdru.name Git - dotfiles.git/commitdiff
mc.ext, menu: view PostScript with evince
authorOleg Broytman <phd@phdru.name>
Mon, 17 Nov 2014 13:35:48 +0000 (16:35 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 17 Nov 2014 13:36:40 +0000 (16:36 +0300)
.mc/mc.ext
.mc/menu

index 70ec82bbc8c9a98bb86905ae55f9916daba3f4e1..aaf05295244657075aaaa7ce4eb3a0b72a2d70f3 100644 (file)
@@ -501,7 +501,7 @@ include/oldvideo
 
 # Postscript
 type/^PostScript
-       Open=(gv %f &)
+#      Open=(gv %f &)
        View=%view{ascii} ps2ascii %f
 
 # PDF
@@ -705,6 +705,10 @@ shell/.fb2
    Open=fbreader %f &
    View=%view{ascii} xsltproc /usr/local/src/FictionBook/FB2_2_txt_ru.xsl %f
 
+type/^PostScript
+   Open=evince %f &
+   View=%view{ascii} ps2ascii %f
+
 # RTF
 regex/\.([rR][tT][fF])$
    Open=fbreader %f &
index c3b6786ab74052259e9ff7460a1ab3f323784948..e07c1669919410de8882bb0ba06ae34ba001f410 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -65,8 +65,8 @@ o  View OpenDoc with odt2txt
 e  Edit OpenDoc with libreoffice
    libreoffice %f &
 
-+= t r & f \.(pdf|PDF|djvu)(\.bz2|\.gz)?$
-e  View pdf/djvu with evince
++= t r & f \.(pdf|PDF|ps|PS|djvu)(\.bz2|\.gz)?$
+e  View pdf/ps/djvu with evince
    evince %f &
 
 += t r & f \.(doc|DOC|rtf)$