]> git.phdru.name Git - dotfiles.git/commitdiff
.mc/menu: Edit images with `gimp`
authorOleg Broytman <phd@phdru.name>
Thu, 11 Feb 2021 17:23:24 +0000 (20:23 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 11 Feb 2021 17:23:24 +0000 (20:23 +0300)
.mc/menu

index e53b95650b81261b01032b3b1badfbc262e7ad01..9ba07b1327a6739a5f08732acb006c834e6c4cc0 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -102,6 +102,10 @@ o  View OpenXlsx with xlsx2csv
 x  View xls with xls2csv
    xls2csv %f | ${PAGER:-more}
 
++ t lr & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|pbm|PBM|ppm|PPM|png|PNG|xbm|xpm|ico|jp2|tif|TIF|tiff|TIFF|webp)$ | t t
+e  Edit image(s)
+   gimp %s &
+
 + t lr & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|pbm|PBM|ppm|PPM|png|PNG|xbm|xpm)$ | t t
 = t lr & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|pbm|PBM|ppm|PPM|png|PNG|xbm|xpm)$
 i  View image(s) scaled