TeMPOraL / nyan-mode

Nyan Cat for Emacs! Nyanyanyanyanyanyanyanyanyan!
GNU General Public License v3.0
793 stars 68 forks source link

Add possibility to customize nyam faces #59

Open OrionRandD opened 1 year ago

OrionRandD commented 1 year ago

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?

aschiweck commented 4 months 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))
OrionRandD commented 4 months 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))

Any screenshot for this config? Thx

aschiweck commented 4 months ago

Sure:

unicorned-nyan

This uses an unchanged nyan-rainbow-image, change path/name to nyan-cat-face-image accordingly, mine is (zip for github upload only):

unicorn.xpm.zip