Skip to content

Migrate Neofetch Logo To Fastfetch

Carter Li edited this page Feb 28, 2024 · 2 revisions

Take this as an example:

    \033[38;2;23;147;209m                   ▄
                      ▟█▙
                     ▟███▙
                    ▟█████▙
                   ▟███████▙
                  ▂▔▀▜██████▙
                 ▟██▅▂▝▜█████▙
                ▟█████████████▙
               ▟███████████████▙
              ▟█████████████████▙
             ▟███████████████████▙
            ▟█████████▛▀▀▜████████▙
           ▟████████▛      ▜███████▙
          ▟█████████        ████████▙
         ▟██████████        █████▆▅▄▃▂
        ▟██████████▛        ▜█████████▙
       ▟██████▀▀▀              ▀▀██████▙
      ▟███▀▘                       ▝▀███▙
     ▟▛▀                               ▀▜▙
            ${c2} 🬭🬭 ${c1}
██████ ██   ${c2}🬉██🬄${c1}      ██    ███🬺🬱          ██
  ██   ██🬞▄🬏 ▄▄ ▄▄🬞▄🬏 ██ ▄▄ ██ ██ 🬞▄▄▄🬏 🬞▄🬏██
  ██   ██🬆██ ██ ██🬆██ ██🬞█🬕 ██ ██ ██🬂██ ██🬊██
  ██   ██ ██ ██ ██ ██ ██▐█🬀 ██🬭██ ▀▀🬞██ ██ ██
  ██   ██ ██ ██ ██ ██ ███🬴  ██🬎🬆🬀 🬵🬻🬝██ ██ ██
  ██   ██ ██ ██ ██ ██ ██▐█🬏 ██    ██ ██ ██ ██
  ██   ██ ██ ██ ██ ██ ██🬁█🬲 ██    ██🬵██ ██🬵██
  ▀▀   ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀    🬁▀🬀▀▀ 🬁▀🬀▀▀
  1. Replace ${cN} to $N
    \033[38;2;23;147;209m                   ▄
                      ▟█▙
                     ▟███▙
                    ▟█████▙
                   ▟███████▙
                  ▂▔▀▜██████▙
                 ▟██▅▂▝▜█████▙
                ▟█████████████▙
               ▟███████████████▙
              ▟█████████████████▙
             ▟███████████████████▙
            ▟█████████▛▀▀▜████████▙
           ▟████████▛      ▜███████▙
          ▟█████████        ████████▙
         ▟██████████        █████▆▅▄▃▂
        ▟██████████▛        ▜█████████▙
       ▟██████▀▀▀              ▀▀██████▙
      ▟███▀▘                       ▝▀███▙
     ▟▛▀                               ▀▜▙
            $2 🬭🬭 $1
██████ ██   $2🬉██🬄$1      ██    ███🬺🬱          ██
  ██   ██🬞▄🬏 ▄▄ ▄▄🬞▄🬏 ██ ▄▄ ██ ██ 🬞▄▄▄🬏 🬞▄🬏██
  ██   ██🬆██ ██ ██🬆██ ██🬞█🬕 ██ ██ ██🬂██ ██🬊██
  ██   ██ ██ ██ ██ ██ ██▐█🬀 ██🬭██ ▀▀🬞██ ██ ██
  ██   ██ ██ ██ ██ ██ ███🬴  ██🬎🬆🬀 🬵🬻🬝██ ██ ██
  ██   ██ ██ ██ ██ ██ ██▐█🬏 ██    ██ ██ ██ ██
  ██   ██ ██ ██ ██ ██ ██🬁█🬲 ██    ██🬵██ ██🬵██
  ▀▀   ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀    🬁▀🬀▀▀ 🬁▀🬀▀▀
  1. Replace all other hard coded ANSI escape codes to $N
    $3                   ▄
                      ▟█▙
                     ▟███▙
                    ▟█████▙
                   ▟███████▙
                  ▂▔▀▜██████▙
                 ▟██▅▂▝▜█████▙
                ▟█████████████▙
               ▟███████████████▙
              ▟█████████████████▙
             ▟███████████████████▙
            ▟█████████▛▀▀▜████████▙
           ▟████████▛      ▜███████▙
          ▟█████████        ████████▙
         ▟██████████        █████▆▅▄▃▂
        ▟██████████▛        ▜█████████▙
       ▟██████▀▀▀              ▀▀██████▙
      ▟███▀▘                       ▝▀███▙
     ▟▛▀                               ▀▜▙
            $2 🬭🬭 $1
██████ ██   $2🬉██🬄$1      ██    ███🬺🬱          ██
  ██   ██🬞▄🬏 ▄▄ ▄▄🬞▄🬏 ██ ▄▄ ██ ██ 🬞▄▄▄🬏 🬞▄🬏██
  ██   ██🬆██ ██ ██🬆██ ██🬞█🬕 ██ ██ ██🬂██ ██🬊██
  ██   ██ ██ ██ ██ ██ ██▐█🬀 ██🬭██ ▀▀🬞██ ██ ██
  ██   ██ ██ ██ ██ ██ ███🬴  ██🬎🬆🬀 🬵🬻🬝██ ██ ██
  ██   ██ ██ ██ ██ ██ ██▐█🬏 ██    ██ ██ ██ ██
  ██   ██ ██ ██ ██ ██ ██🬁█🬲 ██    ██🬵██ ██🬵██
  ▀▀   ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀    🬁▀🬀▀▀ 🬁▀🬀▀▀
  1. Test it with command line flags
$ # --logo-color-1 maps to $1; --logo-color-2 maps to $2; etc.
$ # When using raw ANSI escape codes, the prefix `\e[` and the suffix `m` should be omitted
$ fastfetch -l /path/to/logo.txt --logo-color-1 white --logo-color-2 red --logo-color-3 '38;2;23;147;209'
image
  1. If everything is okay, save it into config.jsonc
{
    "logo": {
        "source": "/path/to/logo.txt",
        "type": "file",
        "color": {
            "1": "white",
            "2": "red",
            "3": "38;2;23;147;209"
        }
    }
}
Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy