]> git.phdru.name Git - dotfiles.git/commitdiff
.mc/menu: Identify image properties using `xli -identify`
authorOleg Broytman <phd@phdru.name>
Wed, 8 Aug 2018 22:51:35 +0000 (01:51 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 8 Aug 2018 22:51:35 +0000 (01:51 +0300)
.mc/menu

index 487c1a7727f65dc017e57747496ad78ae9f46c82..c9e6416bded09006908b19f51587a48dce77e7ac 100644 (file)
--- 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