]> git.phdru.name Git - dotfiles.git/blobdiff - .mc/menu
Play ogg files
[dotfiles.git] / .mc / menu
index 4b2944f2d04eddbffcbb7659531a930abed5de93..a111a659fba320815e10dc10b5f92e6bd1e8ade5 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -65,6 +65,10 @@ e  evince
 d  catdoc
    catdoc %f | less
 
++= t r & f \.(docx|DOCX)$
+d  docx2txt
+   docx2txt %f - | less
+
 += t r & f \.(xls|XLS)$
 x  xls2csv
    xls2csv %f | less
@@ -72,18 +76,18 @@ x  xls2csv
 + 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)$
 i  View image(s) scaled
-   xli -zoom auto %s &
+   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
 I  View image(s) full size
-   xli %s &
+   xli -title "`echo %s | sed 's/ /_/g'`" %s &
 
 + t r & f \.(ico|jp2|tif|TIF|tiff|TIFF)$ | t t
 = t r & f \.(ico|jp2|tif|TIF|tiff|TIFF)$
 I  View icon, JPEG-2000 or TIFF image
    display %s &
 
-+ t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|pls|wv)$ | t t
++ t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|ogg|OGG|pls|WAV|wav|wv)$ | t t
 a  Add the audiofile(s) or playlist(s)
    #if [ "`audtool --get-volume`" -eq 0 ]; then cgmem_nice 500 audacious & sleep 3; fi
    #for f in %s; do
@@ -92,8 +96,8 @@ a  Add the audiofile(s) or playlist(s)
    #smplayer -add-to-playlist %s &
    deadbeef --queue %s &
 
-+ t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|pls|wv)$ | t t
-= t r & f \.(m3u|mp3|MP3|cue|ac3|ape|flac|wv)$
++ t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|ogg|OGG|pls|WAV|wav|wv)$ | t t
+= t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|ogg|OGG|pls|WAV|wav|wv)$
 p  Load the audiofile(s) or playlist(s)
    #if [ "`audtool --get-volume`" -eq 0 ]; then cgmem_nice 500 audacious & sleep 3; fi
    #audtool --playlist-clear
@@ -104,7 +108,7 @@ p  Load the audiofile(s) or playlist(s)
    #smplayer -add-to-playlist %s &
    deadbeef --queue %s &
 
-+ t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|pls|wv)$ | t t
++ t r & f \.(aac|ac3|ape|cue|flac|m3u|mka|mp3|MP3|ogg|OGG|pls|WAV|wav|wv)$ | t t
 P  Play the audiofile(s) or playlist(s)
    #if [ "`audtool --get-volume`" -eq 0 ]; then cgmem_nice 500 audacious & sleep 3; fi
    #audtool --playlist-clear
@@ -119,7 +123,7 @@ P  Play the audiofile(s) or playlist(s)
 
 + t r & f \.m3u
 R  Play the playlist in random order
-   "$HOME"/lib/audio/shuffle-playlist.py %f random-playlist-tmp.m3u
+   "$HOME"/admin/prog/audio-cdr-video/audio/shuffle-playlist.py %f random-playlist-tmp.m3u
    #if [ "`audtool --get-volume`" -eq 0 ]; then cgmem_nice 500 audacious & sleep 3; fi
    #audtool --playlist-clear
    #audtool --playlist-addurl random-playlist-tmp.m3u
@@ -131,8 +135,8 @@ R  Play the playlist in random order
    #mediaplayer_open random-playlist-tmp.m3u
    (sleep 5; exec rm random-playlist-tmp.m3u) &
 
-+ f \.(aac|ac3|ape|cue|flac|m3u|mp3|MP3|pls|wv|avi|AVI|flv|iso|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wmv)$ | t d | t t
-= t r & f \.(aac|ac3|ape|cue|flac|m3u|mp3|MP3|pls|wv|avi|AVI|flv|iso|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wmv)$
++ f \.(aac|ac3|ape|cue|flac|m3u|mp3|MP3|ogg|OGG|pls|WAV|wav|wv|avi|AVI|flv|iso|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$ | t d | t t
+= t r & f \.(aac|ac3|ape|cue|flac|m3u|mp3|MP3|ogg|OGG|pls|WAV|wav|wv|avi|AVI|flv|iso|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$
 s  Play audio/video file(s) or directory with smplayer
    smplayer %s &
 
@@ -140,7 +144,7 @@ s  Play audio/video file(s) or directory with smplayer
 c  Play the current directory with smplayer
    smplayer . &
 
-+ t r & f \.(m3u|mp3|MP3|cue|aac|ac3|ape|flac|pls|wv|avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wmv)$ | t t
++ t r & f \.(m3u|mp3|MP3|cue|aac|ac3|ape|flac|ogg|OGG|pls|WAV|wav|wv|avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$ | t t
 i  Audio/video info
    exec mplayer -msglevel identify=6 -frames 0 %s
 
@@ -148,11 +152,11 @@ i  Audio/video info
 i  DVD info
    exec mplayer -dvd-device . dvd:// -msglevel identify=6 -frames 0
 
-+ f \.(avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wmv)$ | t t
++ f \.(avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$ | t t
 m  Play video file(s) with mplayer
    mplayer %s &
 
-+ f \.(m3u|mp3|MP3|cue|aac|ac3|ape|flac|pls|wv|avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wmv)$ | t t
++ f \.(m3u|mp3|MP3|cue|aac|ac3|ape|flac|ogg|OGG|pls|WAV|wav|wv|avi|AVI|flv|m2ts|m4v|mka|mkv|MKV|mov|MOV|mp4|MP4|mpg|MPG|vob|VOB|wma|wmv)$ | t t
 M  Play audio/video with gmplayer
    gmplayer %s &