Skip to content

[BUG] Logo and the system info are too offset #1942

@xodus2002

Description

@xodus2002

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

When this fastfetch update happened, my config has issues with the spacing, mainly the system info became too offset to the right. Before that, it was properly formatted.

Version used

2.51.1

Bug prevalence

Always

Regression

Not sure

Installation

Package manager

Package manager

pacman

Screenshots

Before

Image

After

Image

Configuration

// Load with --load-config examples/2.jsonc
// Note that you must replace the image path to an existing image to display it.

{
    "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
    "logo": {
        "type": "file",        // Logo type: auto, builtin, small, file, etc.
        "source": "/home/roboto0510/.config/fastfetch/ascii.txt",      // Built-in logo name or file path
        "width": 25,           // Width in characters (for image logos)
        "height": 17,          // Height in characters (for image logos)
        "padding": {
            "top": 0,          // Top padding
            "left": 0,         // Left padding
            "right": 2         // Right padding
        }
    },
    "display": {
        "separator": " -> ",
        "constants": [
            "──────────────────────────────"
        ]
    },
    "modules": [
        {
            "type": "custom",
            "format": "┌{$1}─{$1}┐",
            "outputColor": "90"
        },
        {
            "type": "title",
            "keyWidth": 10
        },
        {
            "type": "custom",
            "format": "└{$1}─{$1}┘",
            "outputColor": "90"
        },
        {
            "type": "custom",
            "format": "┌{$1}─{$1}┐",
            "outputColor": "90"
        },
        {
            "type": "os",
            "key": "{icon} OS",
            "keyColor": "green"
        },
        {
            "type": "kernel",
            "key": "│ ├",
            "keyColor": "cyan"
        },
        {
            "type": "packages",
            "key": "│ ├󰏖",
            "keyColor": "cyan"
        },
        {
            "type": "shell",
            "key": "│ └",
            "keyColor": "cyan"
        },
        {
            "type": "wm",
            "key": " DE/WM",
            "keyColor": "green"
        },
        {
            "type": "lm",
            "key": "│ ├󰧨",
            "keyColor": "cyan"
        },
        {
            "type": "wmtheme",
            "key": "│ ├󰉼",
            "keyColor": "cyan"
        },
        {
            "type": "icons",
            "key": "│ ├󰀻",
            "keyColor": "cyan"
        },
        {
            "type": "terminal",
            "key": "│ ├",
            "keyColor": "cyan"
        },
        {
            "type": "host",
            "key": "󰌢 PC",
            "keyColor": "green"
        },
        {
            "type": "cpu",
            "key": "│ ├󰻠",
            "keyColor": "cyan"
        },
        {
            "type": "gpu",
            "key": "│ ├󰍛",
            "keyColor": "cyan"
        },
        {
            "type": "memory",
            "key": "│ ├󰑭",
            "keyColor": "cyan"
        },
        {
            "type": "swap",
            "key": "│ ├󰓡",
            "keyColor": "cyan"
        },
        {
            "type": "uptime",
            "key": "│ ├󰅐",
            "keyColor": "cyan"
        },
        {
            "type": "display",
            "key": "│ └󰍹",
            "keyColor": "cyan"
        },
        {
            "type": "custom",
            "format": "└{$1}─{$1}┘",
            "outputColor": "90"
        },
        "break",
    ]
}

Image protocol

ascii

Terminal

konsole

Image tried

ascii.txt

Error message

none ->

Features built-in

threads
vulkan
wayland
xcb-randr
xrandr
drm
drm_amdgpu
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
sqlite3
opencl
libpulse
libddcutil
libelf
libzfs
Directx Headers
System yyjson
linux/videodev2
linux/wireless

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions