My modeline is cluttered. Can I make it display pictures instead of mode names?
I could use unicode Emoji (such as for Python or for Coq), but some machines on which I use my Emacs config do not have the right fonts pre-installed (ideally, I'd also like to reuse this technique in a mode that I'm writing, so I can't expect users to have the right font setup).
I tried adding an :image
display property to the modeline lighter of a toy minor-mode, but nothing appeared in the modeline:
(define-minor-mode my/test-mode
"Test mode."
:lighter (propertize " " 'display '(image :type imagemagick
:file "/home/clement/.emacs.d/rooster.png")))