fastfetch
fastfetch copied to clipboard
[FEAT] Improve detection for images when running in sudo or ssh
Wanted features:
When accessing a computer through ssh or changing user through sudo, png logos are not displayed properly.
Motivation:
having the fallback to the ASCII version of the logo would be nicer than just having PNG written at the top of the output.
So, like a PNG turns into ASCII art as a fallback?
probably easier to understand what I mean through screenshots.
in sudo
in
ssh
I'd rather have something like that:
The escape code may need to be wrapped. Will investigate it later
Does neofetch work in this case?
when using sudo it works, when ran through SSH it does not show the image, but properly fallback to the ascii art version of the logo.
Should be fixed in https://github.com/fastfetch-cli/fastfetch/commit/71cba2451a13fdb56bbbdca943a3fb8fd194d901
Commit reverted.
Image logos in SSH session do work for me
sudo works too