X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.mc%2Fmc.ext;h=10104439555fd9143c111cdbb8f650774002ddcd;hb=40d688e0d9e45af341b34abaa277e99b117bdc56;hp=ade8966223f9021b0484d91aeda7f8d6dadbeaaf;hpb=0f47753df9962cad7f0602ee09bb1f9eb9f2beb9;p=dotfiles.git diff --git a/.mc/mc.ext b/.mc/mc.ext index ade8966..1010443 100644 --- a/.mc/mc.ext +++ b/.mc/mc.ext @@ -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 *.m3u8?) 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