fastfetch-cli / fastfetch

Like neofetch, but much faster because written mostly in C.
MIT License
8.02k stars 347 forks source link

Able to use two colors in the key #1020

Closed JorgeAlMoLa closed 2 weeks ago

JorgeAlMoLa commented 2 weeks ago

Disclaimer:

I don't know if this feature is already available or not, I couldn't find it implemented in my config.jsonc.

Feature:

Being able to use more than one color in the key on the same line

{
    "type": "os",
    "key1": "|",
    "key2": " OS",
    "keyColor1": "darkblue",
    "keyColor2": "cyan"
}

ayuda

CarterLi commented 2 weeks ago
{
    "type": "os",
    "key": "#{blue}| #{cyan}OS"
}
JorgeAlMoLa commented 2 weeks ago

Isn't working h

CarterLi commented 2 weeks ago

Should be {#blue}| {#cyan}OS

CarterLi commented 2 weeks ago

You may refer to fastfetch -h format and fastfetch -h color