fastfetch icon indicating copy to clipboard operation
fastfetch copied to clipboard

Able to change the color of the information text

Open TriDEntApollO opened this issue 1 year ago • 6 comments

Disclaimer

I don't know if this is already available or not i was unable to find it

Wanted features:

to be able to customize the color of the information text and not only the key

{
    "modules": [
        {
            "type": "host",
            "key": "Machine",
            "keyColor": "yellow",
            "textColor": "blue" // add this property
        }
    ]
}

image

customize color of these texts

TriDEntApollO avatar May 07 '24 12:05 TriDEntApollO

Doable, but it is kind of troublesome when some texts are already colored

CarterLi avatar May 07 '24 13:05 CarterLi

BTW, you need a nerd font

CarterLi avatar May 07 '24 13:05 CarterLi

Please test the dev build

{
  "display": {
    "color": {
      "output": "green" // default color
    },
  },
  "modules": [
    "os", // show in green
    {
      "type": "host",
      "outputColor": "red" // show in red
    }
  ]
}

CarterLi avatar May 08 '24 08:05 CarterLi

BTW, you need a nerd font

yeah i have nerd font in my default terminal my vscode terminal (of which the screenshot is) doesnt hve nerd font

TriDEntApollO avatar May 08 '24 09:05 TriDEntApollO

Please test the dev build

{
  "display": {
    "color": {
      "output": "green" // default color
    },
  },
  "modules": [
    "os", // show in green
    {
      "type": "host",
      "outputColor": "red" // show in red
    }
  ]
}

i tried this on my current fastfetch install and it did not work, i am using the latest 2.11.5 version on windows and i installed it with scoop.

Also where can i find the dev build

TriDEntApollO avatar May 08 '24 09:05 TriDEntApollO

https://github.com/fastfetch-cli/fastfetch/actions/runs/8998574253

CarterLi avatar May 08 '24 09:05 CarterLi