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

[BUG] Custom logo does not seem to be working #685

Closed
oresttokovenko opened this issue Jan 16, 2024 · 5 comments
Closed

[BUG] Custom logo does not seem to be working #685

oresttokovenko opened this issue Jan 16, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@oresttokovenko
Copy link

General description of bug:

  • What happened:
    Basically if I call fastfetch --logo ~/file/path, it doesn't output the logo in ASCII. I also created a config.jsonc to see if different image interpreters would help, as well as different file types (jpg, png) but none of them output anything. I'm trying to use my company logo as my custom image but for the purpose of this issue I'm using Meta's logo
Screenshot 2024-01-16 at 08 38 52
  • What should happen:

A custom logo should be printed

  • Did it work in an older version:

I'm not sure, I'm using fastfetch 2.5.0 (aarch64)

  • Where did you get the binary:

via Homebrew

Often helpful information:

The content of the configuration file you use (if any)

I tried both variants

fastfetch --logo ~/Downloads/logo-Meta.png
{
  "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
  "logo": {
      "type": "iterm",
      "source": "~/.config/fastfetch/logo-Meta.png"
      // "width": 28,
      // "height": 12
  },
  "modules": [
    {
      "type": "custom",
      "key": "┌──────────── Test ────────────┐",
      "keyColor": "blue",
      "format": " "
      // "separator": " "
    },
    "break",
    "os",
    "uptime",
    "host",
    "packages",
    "shell",
    "display",
    "terminalfont",
    "cpu",
    "break",
    "colors",
    "break",
    "break",
    "break",
    "break"
  ]
}

If my image logo didn't show / work

@oresttokovenko oresttokovenko added the bug Something isn't working label Jan 16, 2024
@CarterLi
Copy link
Member

Alacritty doesnt seem to support any image protocols.

alacritty/alacritty#910

You may try other terminals

@oresttokovenko
Copy link
Author

@CarterLi thank you for the quick response! I tried iTerm2, same thing:

Screenshot 2024-01-16 at 09 12 16

@CarterLi
Copy link
Member

Please try change --logo to --iterm

@oresttokovenko
Copy link
Author

Please try change --logo to --iterm

That works on iterm2! Thank you very much! If I want to convert a png to ASCII to have it run in Alacritty (due to lack of image protocols) how would my config.jsonc look like? What file type would I be pointing to?

@CarterLi
Copy link
Member

You may use --chafa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants