X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.mc%2Fmc.ext;h=10104439555fd9143c111cdbb8f650774002ddcd;hb=6b92ad8fd64ffe05fb4bb82ca69819dcbc4cabf5;hp=936c78554cc8fcbaac517272efa6f0922af86cac;hpb=7ca160589e93dab9aa8b614f78e8afb93477d0c5;p=dotfiles.git diff --git a/.mc/mc.ext b/.mc/mc.ext index 936c785..1010443 100644 --- a/.mc/mc.ext +++ b/.mc/mc.ext @@ -57,7 +57,7 @@ regex/\.ftplist$ Open=%cd %p#ftplist # Play list -regex/i/\.(m3u|pls)$ +regex/i/\.(m3u8?|pls)$ Include=audio # Lossless audio @@ -75,7 +75,11 @@ regex/\.(cue|aac|ac3|ape|flac|wv|mka)$ # View=%view{ascii} cat %f # Compile=compyle %s # Icon=snake.xpm -# + +# Python packages +regex/\.(egg|whl)$ + Include=zip + #regex/i/\.tiff?$ # Open=xview %f # @@ -88,14 +92,14 @@ regex/i/\.xml$ type/^XML *(1\.0 *)?document Include=xml -#regex/i/\.zip$ -# Open=%cd %p/uzip:// -# View=%view{ascii} unzip -v %f -# +# LRE/Flibusta INPX +regex/\.(inpx)$ + Include=zip + include/audio - Open=[ "`audtool --get-volume`" -eq 0 ] && (audacious & sleep 3); audtool --playlist-clear; case %f in *.m3u) while read song; do audtool --playlist-addurl "$song"; done < %f ;; *) audtool --playlist-addurl %f ;; esac; audtool --playback-play + #Open=[ "`audtool --get-volume`" -eq 0 ] && (audacious & sleep 3); audtool --playlist-clear; case %f in *.m3u8?) while read song; do audtool --playlist-addurl "$song"; done < %f ;; *) audtool --playlist-addurl %f ;; esac; audtool --playback-play #Open=mplayer %f & - #Open=deadbeef %f & + Open=deadbeef %f & View=%view{ascii} cat %f include/msoffice-doc @@ -115,6 +119,10 @@ include/msoffice-xlsx include/xml Open=%cd %p/xml:// +include/zip + Open=%cd %p/uzip:// + View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip + ### /phd # Midnight Commander 3.0 extension file @@ -633,7 +641,7 @@ shell/i/.wma ### Play lists ### -regex/i/\.(m3u|pls)$ +regex/i/\.(m3u8?|pls)$ Open=/usr/lib/mc/ext.d/sound.sh open playlist