Fastfetch Config Tinkering

The thread title is appropriate for the thread as people do come here and tinker with their fastfetch. You are more than free to start a new thread of only showing off the fastfetch however it will probably be like this one where people will come in and ask for the code for XYZ so in then end its best to leave it as is.

New install of Soplos Linux. I have Kitty and Oh My ZSH installed and Fastfetch configured as I like.

Keeping it simple. :slight_smile:

Summary
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
    "type": "kitty",
    "source": "/home/YourUserName/Pictures/icons/CachyOS4.png",
    "width": 28,
    "padding": {
        "top": 3,
        "left": 17,
    }
},
"modules": [
    "break",
    {
        "type": "custom",
        "format": "\u001b[92m"
    },
    {
        "type": "custom",
        "format": "\u001b[92m"
    },
    {
        "type": "custom",
        "format": "\u001b[92m"
    },
    {
        "type": "custom",
        "format": "\u001b[92mβ”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”"
    },
    {
        "type": "os",
        "key": "σ°‘Š ",
        "keyColor": "33",  // = color4
    },
    {
        "type": "kernel",
        "key": "σ°‘Š ",
        "keyColor": "33",
    },
    {
        "type": "command",
        "format": "{} (pacman)",
        "key": "σ°‘Š ",
        "text": "pacman -Qq | wc -l",
        "keyColor": "33",  
    },
    {
        "type": "shell",
        "key": "σ°‘Š ",
        "keyColor": "33", 
    },
    {
        "type": "terminal",
        "key": "σ°‘Š ",
        "keyColor": "33", 
    },
    {
        "type": "wm",
        "key": "σ°‘Š ",
        "keyColor": "33", 
    },
    {
        "type": "cpu",
        "format": "{1}",
        "key": "σ°‘Š ",
        "keyColor": "33"
    },
    {
        "type": "gpu",
        "format": "{2}",
        "key": "σ°‘Š ",
        "keyColor": "33"
    },
    {
         "type": "memory",
        "key": "σ°‘Š ",
        "keyColor": "33"
    },
    {
        "type": "disk",
        "key": "σ°‘Š ",
        "keyColor": "33"
    },
    {
        "type": "custom",
        "format": "\u001b[92mβ””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜"
    },
    {
        "type": "colors",
        "paddingLeft": 13,
        "symbol": "circle"
    },
    
    

   ]
}

I need some help with Graphics Subsystem Section.
I have 2 Radeon GPU, one integrated and one discrete.
I wanted to display the HW Encode/Decode supported codecs for each GPU.
Both VA-API and Vulcan Encode/Decode stacks are installed.
Kate json linter indicates that driver and profiles properties are not allowed.

{
  "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
  "logo": {
    "source": "/home/mshmaitelly/Pictures/EnOS Noodly EnOS-KDE.png",
    "type": "auto",
    "padding": { "top": 3, "left": 4, "right": 6 },
    "width": 35
  },
  "display": {
    "separator": "  \u001b[38;5;242mΒ»\u001b[0m  ",
    "key": {
      "type": "both",
      "width": 28
    }
  },
  "modules": [
    { "type": "title", "keyWidth": 0 },
    "separator",
    { "type": "custom", "format": " \u001b[1;36m    SYSTEM INFORMATION\u001b[0m" },
    { "type": "os", "key": "OS", "keyColor": "cyan", "keyIcon": "οŒ‚" },
    {
      "type": "command",
      "key": "OS Age",
      "keyColor": "cyan",
      "keyIcon": "ο€—",
      "shell": "/bin/sh",
      "text": "birth=$(stat -c %W / 2>/dev/null || echo 0); if [ \"$birth\" -gt 0 ]; then days=$(( ( $(date +%s) - birth ) / 86400 )); y=$((days/365)); m=$(( (days%365)/30 )); d=$((days%30)); printf \"%s%dd\" \"$( [ $y -gt 0 ] && printf \"%dy \" $y )$( [ $m -gt 0 ] && printf \"%dm \" $m )\" $d; else echo \"Unknown\"; fi"
    },
    { "type": "version", "key": "FF Version", "keyColor": "cyan", "keyIcon": "ο’‡" },
    { "type": "datetime", "key": "Timestamp", "keyColor": "cyan", "keyIcon": "ο€—", "format": "{1}-{4}-{11} {14}:{17}:{20}" },
    { "type": "host", "key": "Host", "keyColor": "cyan", "keyIcon": "" },
    { "type": "kernel", "key": "Kernel", "keyColor": "cyan", "keyIcon": "ο…Ό" },
    { "type": "uptime", "key": "Uptime", "keyColor": "cyan", "keyIcon": "⏱" },
    { "type": "packages", "key": "Packages", "keyColor": "cyan", "keyIcon": "ο’‡" },
    { "type": "locale", "key": "Locale", "keyColor": "cyan", "keyIcon": "" },
    "break",
    { "type": "custom", "format": " \u001b[1;35m    ENVIRONMENT\u001b[0m" },
    { "type": "terminal", "key": "Terminal", "keyColor": "magenta", "keyIcon": "ο„ " },
    { "type": "terminalfont", "key": "Term Font", "keyColor": "magenta", "keyIcon": "ο€±" },
    { "type": "shell", "key": "Shell", "keyColor": "magenta", "keyIcon": "ξž•" },
    { "type": "de", "key": "DE", "keyColor": "magenta", "keyIcon": "ο„›" },
    { "type": "wm", "key": "WM", "keyColor": "magenta", "keyIcon": "ο‹’" },
    { "type": "wmtheme", "key": "WM Theme", "keyColor": "magenta", "keyIcon": "ο‡Ό" },
    { "type": "theme", "key": "Theme", "keyColor": "magenta", "keyIcon": "ο‡Ό" },
    { "type": "icons", "key": "Icons", "keyColor": "magenta", "keyIcon": "ο”Ÿ" },
    { "type": "font", "key": "Font", "keyColor": "magenta", "keyIcon": "ο€±" },
    { "type": "cursor", "key": "Cursor", "keyColor": "magenta", "keyIcon": "ο‘±" },
    "break",
    { "type": "custom", "format": " \u001b[1;33m    SPECIFICATIONS\u001b[0m" },
    { "type": "cpu", "key": "CPU", "keyColor": "yellow", "keyIcon": "ο‹›" },
    { "type": "gpu", "key": "GPU", "keyColor": "yellow", "keyIcon": "ο„›", "detectionMethod": "auto" },
    { "type": "display", "key": "Display", "keyColor": "yellow", "keyIcon": "ο„ˆ" },
    { "type": "memory", "key": "Memory", "keyColor": "yellow", "keyIcon": "ο”Έ" },
    { "type": "swap", "key": "Swap", "keyColor": "yellow", "keyIcon": "πŸ”" },
    {
      "type": "disk",
      "key": "Disk",
      "keyColor": "yellow",
      "keyIcon": "ο‚ ",
      "percent": { "type": 3, "green": 30, "yellow": 70 }
    },
    "break",
    { "type": "custom", "format": " \u001b[1;32m    GRAPHICS SUBSYSTEM\u001b[0m" },
    { "type": "custom", "format": " \u001b[1;32m      β”œβ”€ GPU 0: Discrete (AMD Radeon RX 9070 XT)\u001b[0m" },
    { "type": "vulkan", "key": "Vulkan", "keyColor": "green", "keyIcon": "" },
    { "type": "opengl", "key": "OpenGL", "keyColor": "green", "keyIcon": "" },
    {
      "type": "codec",
      "key": "Codecs (Decode)",
      "keyColor": "green",
      "keyIcon": "ο€ˆ",
      "driver": "vaapi",
      "profiles": "decode"
    },
    {
      "type": "codec",
      "key": "Codecs (Encode)",
      "keyColor": "green",
      "keyIcon": "ο€ˆ",
      "driver": "vaapi",
      "profiles": "encode"
    },
    "break",
    { "type": "custom", "format": " \u001b[1;32m      └─ GPU 1: Integrated (AMD Radeon Graphics)\u001b[0m" },
    { "type": "vulkan", "key": "Vulkan", "keyColor": "green", "keyIcon": "" },
    { "type": "opengl", "key": "OpenGL", "keyColor": "green", "keyIcon": "" },
    {
      "type": "codec",
      "key": "Codecs (Decode)",
      "keyColor": "green",
      "keyIcon": "ο€ˆ",
      "driver": "vaapi",
      "profiles": "decode"
    },
    {
      "type": "codec",
      "key": "Codecs (Encode)",
      "keyColor": "green",
      "keyIcon": "ο€ˆ",
      "driver": "vaapi",
      "profiles": "encode"
    },
    "break",
    "colors"
  ]
}

A bit of a design overhaul…

config.jsonc
{
  "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
  "logo": {
    "type": "kitty",
    "source": "/home/wombat/Pictures/Linux/1a.png",
        "width": 36,
        "height": 20,
        "padding": {
        "top": 2,
        "left": 3,
        "right": 3,
    },
  },
  "display": {
    "separator": " "
  },
  "modules": [
    {
      "type": "title",
      "keyWidth": 10
    },
    {
      "type": "os",
      "key": " OS",
      "keyColor": "cyan"
    },
    {
      "type": "kernel",
      "key": "β”œο€“ Kernel",
      "keyColor": "blue"
    },
    {
      "type": "initsystem",
      "key": "β”œο€“ Init System",
      "keyColor": "blue"
    },
    {
      "type": "packages",
      "key": "β”œσ°– Packages",
      "keyColor": "blue"
    },
    {
      "type": "shell",
      "key": "β”œο’‰ Shell",
      "keyColor": "blue"
    },
    {
      "type": "uptime",
      "key": "β”œο€— Uptime",
      "keyColor": "blue"
    },
    {
      "type": "command",
      "key": "β””ο’‰ Age",
      "keyColor": "blue",
      "text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference days"
    },
    "break",
    {
      "type": "de",
      "key": "ο’ˆ DE",
      "keyColor": "cyan"
    },
    {
      "type": "wm",
      "key": "β”œσ°§¨ Window Manager",
      "keyColor": "blue"
    },
    {
      "type": "lm",
      "key": "β”œσ°§¨ Login Manager",
      "keyColor": "blue"
    },
    {
      "type": "wmtheme",
      "key": "β”œσ°‰Ό Qt Theme",
      "keyColor": "blue"
    },
    {
      "type": "theme",
      "format": "{1}",
      "key": "β”œσ°‰Ό GTK Theme:",
      "keyColor": "blue"
    },
    {
      "type": "cursor",
      "key": "β”œσ°†Ώ Cursor",
      "keyColor": "blue"
    },
    {
      "type": "icons",
      "format": "{1}",
      "key": "β”œσ°€» System Icons",
      "keyColor": "blue"
    },
    {
      "type": "font",
      "format": "{?1}{1} [Qt]{?}{/1}Unknown",
      "key": "β”œσ°›– System Fonts",
      "keyColor": "blue"
    },
    {
      "type": "terminalfont",
      "key": "β”œσ°›– Terminal Font",
      "keyColor": "blue"
    },
    {
      "type": "terminal",
      "key": "β””ξž• Terminal",
      "keyColor": "blue"
    },
    "break",
    {
      "type": "host",
      "key": "󰌒 PC",
      "keyColor": "cyan"
    },
    {
      "type": "cpu",
      "key": "β”œσ°»  CPU",
      "keyColor": "blue"
    },
    {
      "type": "bios",
      "key": "β”œο’΅ Bios",
      "keyColor": "blue"
    },
    {
      "type": "memory",
      "key": "β”œσ°› RAM",
      "keyColor": "blue"
    },
    {
      "type": "swap",
      "key": "β”œσ°Ώ’ Swap",
      "keyColor": "blue"
    },
    {
      "type": "Disk",
      "key": "β”œσ°¨£ Disks",
      "keyColor": "blue"
    },
    {
      "type": "gpu",
      "key": "β”œσ°› GPU",
      "keyColor": "blue"
    },
    {
      "type": "opengl",
      "key": "β”œσ°› OpenGL",
      "keyColor": "blue"
    },
    {
      "type": "vulkan",
      "key": "β”œσ°› Vulkan",
      "keyColor": "blue"
    },
    {
      "type": "display",
      "key": "└󰍹 Display(s)",
      "keyColor": "blue"
    },
  ]
}

Luckily your display is a 27" so everything fits in :YaHo! :winking_face_with_tongue:

been playing with ghostty terminal , which doesn’t work on my old lappy with OpenGL 2.1, but with Linux everything is possible right lol , so eventually got ghostty to work…

could then play with some fastfetch configs , this is what i have so far

to be continued

A bit of minor tinkering. Added new custom image.

Get the image here:

Nothing really new here except for the image…

Infinite Diversity in Infinite Combinations

  • The IDIC philosophy was first introduced in the Star Trek: The Original Series episode β€œIs There in Truth No Beauty?” (1968), where Spock wears the IDIC medallion during a formal dinner.

  • I used these three images as a base for the image creation.

  • While Perplexity AI was used, I primarily edited and manipulated the image via GIMP and Krita.

Get the full HD version here:

thanks to every1 giving configs !

btw, i looked through here and haven’t seen a fastfetch like the previous 1 I posted with the boxes like next to each other …Fastfetch Config Tinkering - #657 by 3nd

anyway here’s a new 1 , using configs here