update to use @dacrab 's fastfetch config

This commit is contained in:
dacrab
2025-01-13 23:03:27 +02:00
parent 307a0b3835
commit 35094feddb

View File

@@ -1,86 +1,116 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"type": "builtin",
"color": {
"1": "white",
"2": "cyan"
}
"padding": {
"top": 2,
"left": 1,
"right": 2
}
},
"display": {
"separator": "  ",
"color": "cyan"
"separator": " "
},
"modules": [
{
"type": "custom", // HardwareStart
"format": "┌─────────── \u001b[1mHardware Information\u001b[0m ───────────┐" // `\u001b` is `\033`, or `\e`
},
{
"type": "host",
"key": " 󰌢"
},
{
"type": "cpu",
"key": " "
},
{
"type": "gpu",
"detectionMethod": "pci",
"key": " "
},
{
"type": "display",
"key": " 󱄄"
},
{
"type": "memory",
"key": " "
},
{
"type": "custom", // SoftwareStart
"format": "├─────────── \u001b[1mSoftware Information\u001b[0m ───────────┤"
},
{
"type": "os",
"key": " " // Just get your distro's logo off nerdfonts.com,
},
{
"type": "kernel",
"key": " ",
"format": "{1} {2}"
},
{
"type": "wm",
"key": " "
},
{
"type": "shell",
"key": " "
},
{
"type": "custom",
"format": "|──────────────\u001b[1mUptime / Age\u001b[0m──────────────────|"
},
{
"type": "command",
"key": " OS Age ",
"keyColor": "magenta",
"text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference days"
},
{
"type": "uptime",
"key": " Uptime ",
"keyColor": "magenta"
},
{
"type": "custom", // InformationEnd
"format": "└────────────────────────────────────────────┘"
},
{
"type": "colors",
"paddingLeft": 2,
"symbol": "circle"
}
// Title
{
"type": "title",
"format": "{#1}╭───────────── {#}{user-name-colored}"
},
// System Information
{
"type": "custom",
"format": "{#1}│ {#}System Information"
},
{
"type": "os",
"key": "{#separator}│ {#keys}󰍹 OS"
},
{
"type": "kernel",
"key": "{#separator}│ {#keys}󰒋 Kernel"
},
{
"type": "uptime",
"key": "{#separator}│ {#keys}󰅐 Uptime"
},
{
"type": "packages",
"key": "{#separator}│ {#keys}󰏖 Packages",
"format": "{all}"
},
{
"type": "custom",
"format": "{#1}│"
},
// Desktop Environment
{
"type": "custom",
"format": "{#1}│ {#}Desktop Environment"
},
{
"type": "de",
"key": "{#separator}│ {#keys}󰧨 DE"
},
{
"type": "wm",
"key": "{#separator}│ {#keys}󱂬 WM"
},
{
"type": "wmtheme",
"key": "{#separator}│ {#keys}󰉼 Theme"
},
{
"type": "display",
"key": "{#separator}│ {#keys}󰹑 Resolution"
},
{
"type": "shell",
"key": "{#separator}│ {#keys}󰞷 Shell"
},
{
"type": "terminalfont",
"key": "{#separator}│ {#keys}󰛖 Font"
},
{
"type": "custom",
"format": "{#1}│"
},
// Hardware Information
{
"type": "custom",
"format": "{#1}│ {#}Hardware Information"
},
{
"type": "cpu",
"key": "{#separator}│ {#keys}󰻠 CPU"
},
{
"type": "gpu",
"key": "{#separator}│ {#keys}󰢮 GPU"
},
{
"type": "memory",
"key": "{#separator}│ {#keys}󰍛 Memory"
},
{
"type": "disk",
"key": "{#separator}│ {#keys}󰋊 Disk (/)",
"folders": "/"
},
{
"type": "custom",
"format": "{#1}│"
},
// Colors
{
"type": "colors",
"key": "{#separator}│",
"symbol": "circle"
},
// Footer
{
"type": "custom",
"format": "{#1}╰───────────────────────────────╯"
}
]
}
}