How to put a picture in fastfetch
in foot terminal
I was trying to put a picture in fastfetch terminal in the place of ASCII logo , and was easy to do :
I wanted to add picture in our default config of hyprland edition which would have looked like this :
But it can’t be put by default as it is not purely made by SGS it was actually remix , so I am writing here instruction of how you can put it in your terminal specially
foot
as it is my favourite and kept as the default terminal for users in hyprland edition So here are the steps :
- install
libsixel
:
sudo pacman -S libsixel
- open
.config/fish/config.fish
, scroll to bottom and change :
if status --is-interactive && type -q fastfetch
fastfetch
end
to this :
if status --is-interactive && type -q fastfetch
fastfetch --logo-type sixel --logo ~/.config/photo.png
end
- download this downscaled image :
and save it to~/.config
(you can change your path as you wish , I just put it according to my confort ) - go to
~/.config/foot/foot.ini
and change :
font= JetbrainsMonoNL:size=10
to this :
font= JetbrainsMonoNL:size=12
Done!!!
you can choose whatever you like , but don’t forget to downscale it
If anyone want to make it come by default in the hyprland edition
I wanted to make that thing to come in default but the thing is the photo I am using is a remix so I can’t use it , I don’t want just a simple logo in picture for fastfetch , I really liked the hacker girl photo but can’t be put there.
If some have it’s own art made purely by himself similar like hacker girl which can fit there, then please post it here , as I want something different than a logo (like tech anime photo)
PS : the dimensions should be roughly around 300x500 pixels and sixels doesn’t support transparent background