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.
Keeping it simple. ![]()
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"
]
}

