Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to customize nyam faces #59

Open
OrionRandD opened this issue Sep 17, 2022 · 3 comments
Open

Add possibility to customize nyam faces #59

OrionRandD opened this issue Sep 17, 2022 · 3 comments

Comments

@OrionRandD
Copy link

OrionRandD commented Sep 17, 2022

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
Copy link

aschiweck commented Feb 13, 2024

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
Copy link
Author

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants