Open OrionRandD opened 1 year ago
Just passed by with the same problem and managed this by:
(use-package nyan-mode
:ensure t
:config
(setq nyan-cat-face-image (concat user-emacs-directory "img/unicorn.xpm"))
(setq nyan-cat-image (if (image-type-available-p 'xpm)
(create-image nyan-cat-face-image 'xpm nil :ascent 'center)))
(nyan-mode 1))
Just passed by with the same problem and managed this by:
(use-package nyan-mode :ensure t :config (setq nyan-cat-face-image (concat user-emacs-directory "img/unicorn.xpm")) (setq nyan-cat-image (if (image-type-available-p 'xpm) (create-image nyan-cat-face-image 'xpm nil :ascent 'center))) (nyan-mode 1))
Any screenshot for this config? Thx
Sure:
This uses an unchanged nyan-rainbow-image
, change path/name to nyan-cat-face-image
accordingly, mine is (zip for github upload only):
Could you add the possibility to customize nyan.xpm and rainbow.xpm? I have edited these two files with convert from imagemagick. But, I have to keep replacing the original files when I update or compile Emacs packages. https://i.imgur.com/WzW9NXb.png
Do you want this two edited files for you to add to nyam and make a way to choose between rainbow and black-white?