Easy to fix:
fastfetch --YOURCURRENT-FLAGS --gen-config
Replace "--YOURCURRENT-FLAGS
" with your current flags and it’ll generate a json config in ~/.config/fastfetch/config.jsonc
or take this one:
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"type": "kitty",
"source": "/usr/share/icons/garuda/dr460nized-fastfetch.png",
"width": 36
},
"modules": [
"title",
"separator",
"os",
{
"type": "host",
"format": "{/2}{-}{/}{2}{?3} {3}{?}"
},
"kernel",
"uptime",
{
"type": "battery",
"format": "{/4}{-}{/}{4}%{?5} [{5}]{?}"
},
"break",
"packages",
"shell",
"terminal",
"break",
"cpu",
{
"type": "gpu",
"key": "GPU"
},
"memory",
"break",
"colors"
]
}