]> git.phdru.name Git - dotfiles.git/commitdiff
View OpenDoc with odt2txt
authorOleg Broytman <phd@phdru.name>
Mon, 10 Nov 2014 22:44:32 +0000 (01:44 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 10 Nov 2014 22:44:32 +0000 (01:44 +0300)
.mc/menu

index f849f0117ce626cf6cca98017778a422e1e1ae39..76b371830cda19a8e70a15c1f1c8705a565d0113 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -57,6 +57,10 @@ T  fb2txt
    esac
    $A %f | xsltproc /usr/local/src/FictionBook/FB2_2_txt_ru.xsl - | webstdin -e txt -t
 
++= 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}
+
 += t r & f \.(pdf|PDF|djvu)(\.bz2|\.gz)?$
 e  View pdf/djvu with evince
    evince %f &