From 95938225545c5a5ffb76b6fc320e590227039a49 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 9 Aug 2018 01:51:35 +0300 Subject: [PATCH] .mc/menu: Identify image properties using `xli -identify` --- .mc/menu | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.mc/menu b/.mc/menu index 487c1a7..c9e6416 100644 --- a/.mc/menu +++ b/.mc/menu @@ -106,6 +106,10 @@ i View image(s) scaled I View image(s) full size xli -title "`echo %s | sed 's/ /_/g'`" %s & ++ t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|pbm|PBM|ppm|PPM|png|PNG|xbm|xpm)$ +I Identify image + xli -identify %f + + 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 -- 2.39.5