]> git.phdru.name Git - dotfiles.git/blobdiff - .mc/menu
mc.menu: change titles
[dotfiles.git] / .mc / menu
index 76b371830cda19a8e70a15c1f1c8705a565d0113..ffabda40e6a2b8d8e8b3e9d5f7e29f060aa91456 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -61,28 +61,40 @@ T  fb2txt
 o  View OpenDoc with odt2txt
    odt2txt %f | ${PAGER:-more}
 
-+= t r & f \.(pdf|PDF|djvu)(\.bz2|\.gz)?$
-e  View pdf/djvu with evince
++ t r & f \.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
+e  Edit OpenDoc with libreoffice
+   libreoffice %f &
+
++= 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)$
 d  View doc with catdoc
    catdoc %f | ${PAGER:-more}
 
++ t r & f \.(doc|DOC|rtf)$
+e  Edit doc with libreoffice
+   libreoffice %f &
+
 += t r & f \.(docx|DOCX)$
 d  View docx with docx2txt
-   docx2txt %f - | ${PAGER:-more}
+   docx2txt %f - | iconv.py -f utf-8 | ${PAGER:-more}
+
++ t r & f \.(docx|DOCX)$
+e  Edit docx with libreoffice
+   libreoffice %f &
 
 += t r & f \.(xls|XLS)$
 x  View xls with xls2csv
    xls2csv %f | ${PAGER:-more}
 
-+ t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|png|PNG|xpm)$ | t t
-= t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|png|PNG|xpm)$
++ t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|pbm|PBM|ppm|PPM|png|PNG|xbm|xpm)$ | t t
+= t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|pbm|PBM|ppm|PPM|png|PNG|xbm|xpm)$
 i  View image(s) scaled
    xli -title "`echo %s | sed 's/ /_/g'`" -zoom auto %s &
 
-+ t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|png|PNG|xpm)$ | t t
++ t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|pbm|PBM|ppm|PPM|png|PNG|xbm|xpm)$ | t t
 I  View image(s) full size
    xli -title "`echo %s | sed 's/ /_/g'`" %s &
 
@@ -191,7 +203,7 @@ P  Play directory with gmplayer
    gmplayer %f/* &
 
 + t d & f ^\.\.$
-b  Make a .tar.bz2 release of the current directory
+b  Compress the current subdirectory to tar.bz2
    Pwd="`basename %d /`"
    echo -n "Name of the distribution file (without extension) [$Pwd]: "
    read tar
@@ -200,7 +212,7 @@ b  Make a .tar.bz2 release of the current directory
    echo ../"$tar".tar.bz2 created.
 
 + t d & f ^\.\.$
-g  Make a .tar.gz release of the current directory
+g  Compress the current subdirectory to tar.gz
    Pwd="`basename %d /`"
    echo -n "Name of the distribution file (without extension) [$Pwd]: "
    read tar
@@ -209,7 +221,7 @@ g  Make a .tar.gz release of the current directory
    echo ../"$tar".tar.gz created.
 
 + t d & f ^\.\.$
-t  Make a .tar release of the current directory
+t  Compress the current subdirectory to tar
    Pwd="`basename %d /`"
    echo -n "Name of the distribution file (without extension) [$Pwd]: "
    read tar
@@ -218,7 +230,7 @@ t  Make a .tar release of the current directory
    echo ../"$tar".tar created.
 
 + t d & f ^\.\.$
-z  Make a .zip release of the current directory
+z  Compress the current subdirectory to zip
    Pwd="`basename %d /`"
    echo -n "Name of the distribution file (without extension) [$Pwd]: "
    read zip
@@ -227,7 +239,7 @@ z  Make a .zip release of the current directory
    echo ../"$zip".zip created.
 
 + t d & f ^\.\.$
-y  Make a .zip release of the current directory with recoded filenames
+y  Compress the current subdirectory to zip with recoded filenames
    Pwd="`basename %d /`"
    echo -n "Name of the distribution file (without extension) [$Pwd]: "
    read zip