Skip to content

[BUG] Using display.key.type adds a second column of icons #2013

@CTRL-panino

Description

@CTRL-panino

Read the FAQ first

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

Description

Hello,
I just updated to version 2.54.0 and wanted to try the new display.key.type feature, since I’m using Ghostty with the default font.
However, when I enable display.key.type in my config file, a second column of icons appears.
If it's useful, I'm using macOS Sequoia 15.7.1. and Ghostty 1.2.2.

Also, although it’s unrelated, VS Code shows an error when trying to parse the JSONC schema.

Version used

2.54.0

Bug prevalence

Always

Regression

No

Installation

GitHub Releases

Package manager

No response

Screenshots

Second column of icons:
Image

Parsing error:
Image

Configuration

Config
{
   "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
   "logo": {
      "padding": {
         "top": 6
      }
   },
   "display": {
      "key": {
         "type": "both-1"
      },
      "separator": "  ",
      "color": {
         "separator": "2"
      }
   },
   "modules": [
      {
         "type": "title",
         "color": {
            "at": "2"
         }
      },
      {
         "type": "separator",
         "string": "",
         "outputColor": "2"
      },
      "break",
      {
         "type": "custom",
         "format": "{#keys}{#1}{#yellow}╭─── Hardware"
      },
      {
         "type": "host",
         "key": "\udb80\udf22",
         "keyColor": "yellow",
         "format": "{5} {2}"
      },
      {
         "type": "display",
         "key": "\udb86\udcf5",
         "keyColor": "yellow",
         "format": "{22} x {23} px @ {24} Hz{?12} in {12}\" ({13} ppi){?} - {14} bit - HDR: {20} - {7}"
      },
      {
         "type": "brightness",
         "key": "\udb81\udee9",
         "keyColor": "yellow",
         "format": "{1}",
         "percent": {
            "type": [
               "num"
            ]
         }
      },
      {
         "type": "cpu",
         "key": "\uf4bc",
         "keyColor": "yellow",
         "format": "{1} - {9} core @ {7} - {8}",
         "showPeCoreCount": true,
         "temp": true
      },
      {
         "type": "loadavg",
         "key": "\udb81\udcc5",
         "keyColor": "yellow"
      },
      {
         "type": "gpu",
         "key": "\udb83\udfb2",
         "keyColor": "yellow",
         "format": "{2} - {5} core @ {12} - {11} - {4}",
         "temp": true
      },
      {
         "type": "memory",
         "key": "\uefc5",
         "keyColor": "yellow"
      },
      {
         "type": "disk",
         "key": "\uf0c7",
         "keyColor": "yellow",
         "format": "{?10}{10} - {?}\u001b]8;;file://{20}\u001b\\\u001b[4:4m{20}\u001b[4:0m\u001b]8;;\u001b\\ - {1} / {2} ({3}) - {9}"
      },
      {
         "type": "battery",
         "key": "\udb84\udea5",
         "keyColor": "yellow",
         "format": "{4}{?12} ({12} hours, {13} mins remaining){?} - {7} cycles - {6}",
         "temp": true,
         "percent": {
            "green": 51,
            "yellow": 11
         }
      },
      {
         "type": "camera",
         "key": "\udb83\udd5d",
         "keyColor": "yellow",
         "format": "{1} - {5} x {6} px"
      },
      {
         "type": "sound",
         "key": "\udb81\udd7e",
         "keyColor": "yellow",
         "format": "{2} - {3}",
         "percent": {
            "type": [
               "num"
            ]
         }
      },
      "break",
      {
         "type": "custom",
         "format": "{#keys}{#1}{#magenta}╭─── Software"
      },
      {
         "type": "os",
         "key": "\udb81\ude33",
         "keyColor": "magenta",
         "format": "{2} {10} {8} - {12}"
      },
      {
         "type": "theme",
         "key": "\udb80\udc36",
         "keyColor": "magenta"
      },
      {
         "type": "shell",
         "key": "\udb80\udd8d",
         "keyColor": "magenta"
      },
      {
         "type": "terminal",
         "key": "\udb85\ude5d",
         "keyColor": "magenta"
      },
      {
         "type": "uptime",
         "key": "\uf017",
         "keyColor": "magenta"
      },
      {
         "type": "processes",
         "key": "\udb83\uddd0",
         "keyColor": "magenta"
      },
      {
         "type": "command",
         "key": "\udb80\udc3b",
         "keyColor": "magenta",
         "text": "sqlite3 \"$(echo /private$(getconf DARWIN_USER_DIR)/com.apple.dock.launchpad/db/db)\" \"SELECT 'Total: '||COUNT(DISTINCT bundleid)||' - User: '||(SELECT COUNT(DISTINCT bundleid) FROM apps WHERE bundleid NOT LIKE 'com.apple.%')||' - System: '||(SELECT COUNT(DISTINCT bundleid) FROM apps WHERE bundleid LIKE 'com.apple.%') FROM apps;\""
      },
      "break",
      {
         "type": "custom",
         "format": "{#keys}{#1}{#blue}╭─── Connectivity"
      },
      {
         "type": "publicip",
         "key": "\ueb01",
         "keyColor": "blue",
         "format": "{1} - {2}"
      },
      {
         "type": "localip",
         "key": "\udb86\udd82",
         "keyColor": "blue",
         "format": "{1} - {3}",
         "showPrefixLen": false,
         "showMac": true
      },
      {
         "type": "dns",
         "key": "\udb82\udf8c",
         "keyColor": "blue"
      },
      {
         "type": "wifi",
         "key": "\udb81\udda9",
         "keyColor": "blue",
         "format": "{4} - {7} - {13} GHz - {6} - {10}"
      },
      {
         "type": "bluetooth",
         "key": "\udb80\udcb4",
         "keyColor": "blue",
         "format": "{1} - {4}"
      },
      {
         "type": "bluetoothradio",
         "key": "\udb80\udcaf",
         "keyColor": "blue",
         "format": "{5}"
      },
      "break"
   ]
}

System information

I'll add it if necessary

Features built-in

threads
vulkan
imagemagick7
chafa
zlib
sqlite3

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