fastfetch icon indicating copy to clipboard operation
fastfetch copied to clipboard

[BUG] Custom Logo Color Won't Set

Open makinbacon21 opened this issue 1 year ago • 0 comments

General description of bug:

Adding numeric color field to ASCII logo not working. "white" etc. work, but I wanted to set "38" and "209" as I had in neofetch.

Often helpful information:

Screenshot: image

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

// ~/.config/fastfetch/config.jsonc
// See https://github.com/fastfetch-cli/fastfetch/wiki/Configuration for more details
// See *.jsonc in https://github.com/fastfetch-cli/fastfetch/tree/dev/presets/examples for more examples
{
  "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
  "logo": {
    "source": "/etc/fastfetch/sccs.ascii",
    "type": "file",
    "color": {
      "1": "38",
      "2": "209"
    },
    "padding": {
      "top": 2
    }
  },
    "modules": [
    "title",
    "separator",
    "os",
    "host",
    "kernel",
    "uptime",
    "packages",
    "shell",
    "terminal",
    "cpu",
    "gpu",
    "memory",
    "disk",
    "publicip",
    "locale",
    "users"
  ]
}

Logo:

$ cat /etc/fastfetch/sccs.ascii
$1         _       $2     __________   $1  __________        $2_
$1        / /\     $2    / _______  /| $1 / _______  /|     $2/ /\
$1       / /  \    $2   / /|_____/ / / $1/ /|_____/ / /    $2/ /  \
$1      / / /\ \__ $2  / / /    /_/ / $1/ / /    /_/ /    $2/ / /\ \__
$1     / / /\ \___\$2 / / /     |_|/ $1/ / /     |_|/    $2/ / /\ \___\
$1     \ \ \ \/___/$2| | |          $1| | |              $2\ \ \ \/___/
$1      \ \ \      $2| | |      _   $1| | |      _        $2\ \ \
$1  _    \ \ \     $2 \ \ \   /\ \   $1\ \ \   /\ \  $2 _    \ \ \
$1 /_/\__/ / /     $2  \ \ \ _\_\_\   $1\ \ \ _\_\_\ $2/_/\__/ / /
$1 \ \/___/ /      $2   \ \ \______\   $1\ \ \______\$2\ \/___/ /
$1  \_____\/       $2    \_\_______|    $1\_\_______| $2\_____\/

Output of fastfetch -c ci.jsonc --format json:

?????

Error: couldn't find config: ci.jsonc

Output of fastfetch --list-features:

threads
libpci
vulkan
wayland
xcb-randr
xcb
xrandr
x11
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
sqlite3
rpm
egl
glx
osmesa
opencl
libddcutil

makinbacon21 avatar May 04 '24 17:05 makinbacon21