From 35094feddb40b52511b9d85ff3385d70b2b5ce9d Mon Sep 17 00:00:00 2001 From: dacrab Date: Mon, 13 Jan 2025 23:03:27 +0200 Subject: [PATCH] update to use @dacrab 's fastfetch config --- config.jsonc | 186 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 108 insertions(+), 78 deletions(-) diff --git a/config.jsonc b/config.jsonc index 3a85404..11073cf 100644 --- a/config.jsonc +++ b/config.jsonc @@ -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}╰───────────────────────────────╯" + } ] -} + } \ No newline at end of file