From: Oleg Broytman Date: Mon, 17 Nov 2014 13:37:11 +0000 (+0300) Subject: .mc/menu: view pbm/ppm/xbm images X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=55caf574adb5fba91baa887bbf8201b25facfa8f;p=dotfiles.git .mc/menu: view pbm/ppm/xbm images --- diff --git a/.mc/menu b/.mc/menu index e07c166..1ddf240 100644 --- a/.mc/menu +++ b/.mc/menu @@ -89,12 +89,12 @@ e Edit docx with libreoffice 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 &