Closed Blakeinstein closed 2 years ago
Interesting idea. I couldn't get this to work properly however. The pokemon art is printed but seems to take so much space that the neofetch output disappears.
Example with neofetch --ascii "$(krabby random --no-title)"
I think it may be because neofetch expects a certain ascii file format.
If you have any idea how to work around this I would be interested.
This is actually apparently blocked on https://github.com/dylanaraps/neofetch/issues/1303
maybe we can get this to be an image, copy over to a buffer then use an image backend like kitty to display the image?
Oh nice catch! Seems like there is an open pull request that fixes this but it hasn't been been merged. Overall it looks like the neofetch repo is quite inactive.
I tried the same command with the fix from the PR and it seems to work. One work around for now could thus be to use a more up to date fork of neofetch, for example hyfetch.
maybe we can get this to be an image, copy over to a buffer then use an image backend like kitty to display the image?
Yeah I guess that would work too but it seems like quite a lot of trouble for what it's worth. We would then need all of the sprites as images which would use up quite a lot of space. Or maybe use some other program in between to convert the output to an image, but I don't know how viable this is.
One work around for now could thus be to use a more up to date fork of neofetch, for example hyfetch.
This actually is indeed the solution. I setup my config to use pokemon-colorscripts (because that is what I was trying out, and seems to be the fastest atm) and got great results
Is there an option to get this output to neofetch? (using image_source command output)