]> git.phdru.name Git - dotfiles.git/commitdiff
Feat(.mc/menu): Identify TIFF/WEBP images
authorOleg Broytman <phd@phdru.name>
Sat, 30 Jan 2021 19:52:16 +0000 (22:52 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 30 Jan 2021 19:53:55 +0000 (22:53 +0300)
Use `identify` from ImageMagick.
`xli` doesn't understand these types of images.

.mc/menu

index acb6b51acf4fbb5c7ef7d181a6f71c405c7e95ce..e53b95650b81261b01032b3b1badfbc262e7ad01 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -120,6 +120,10 @@ I  Identify image
 I  View icon, JPEG-2000, TIFF, WebP image
    display %s &
 
++ t lr & f \.(ico|jp2|tif|TIF|tiff|TIFF|webp)$
+I  Identify image
+   identify %f
+
 + t lr & f \.(aac|ac3|ape|cue|dts|flac|m3u|mka|mp3|MP3|ogg|OGG|pls|WAV|wav|wv)$ | t t
 a  Add the audiofile(s) or playlist(s)
    if [ "`audtool --get-volume`" -eq 0 ]; then audacious & sleep 3; fi