{ "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", "logo": { "type": "builtin", // Logo type: auto, builtin, small, file, etc. // "source": "arch", "width": 10, "height": 10, "padding": { "top": 3, "left": 2, "right": 2 }, "color": { "1": "blue", "2": "white", "3": "cyan" } }, "display": { /* Display settings */}, "modules": [ "break", { "type": "custom", "format": "\u001b[90m┌──────────────────────Hardware──────────────────────┐" }, { "type": "host", "key": "󰌢 PC", "keyColor": "green", "format": "{2}" }, { "type": "cpu", "key": "│ ├󱛠 ", "keyColor": "green", "format": "{1} | {4} @{6}" }, { "type": "gpu", "key": "│ ├󰍹 ", "keyColor": "green", "format": "{2} | {7}" }, { "type": "memory", "key": "│ ├󰑭 ", "keyColor": "green", "format": "{2}" }, // { // "type": "disk", // "key": "└ └󰋊 ", // "keyColor": "green" // }, { "type": "custom", "format": "\u001b[90m└────────────────────────────────────────────────────┘" }, "break", { "type": "custom", "format": "\u001b[90m┌──────────────────────Software──────────────────────┐" }, { "type": "os", "key": " OS", "keyColor": "yellow", "format": " {2} {8}" }, { "type": "kernel", "key": "│ ├󰌽 ", "keyColor": "yellow", "format": "{1} {2}" }, { "type": "bios", "key": "│ ├󰖡 ", "keyColor": "yellow" }, { "type": "packages", "key": "│ ├󰏗 ", "keyColor": "yellow" }, { "type": "de", "key": "󰧨 DE", "keyColor": "blue", "format": "{2} | {3}" }, { "type": "lm", "key": "│ ├󰍁 ", "keyColor": "blue", "format": "{1} {2} {3}" }, { "type": "wm", "key": "│ ├󱂬 ", "keyColor": "blue", "format": "{2} {5}" }, { "type": "custom", "format": "\u001b[90m└────────────────────────────────────────────────────┘" }, "break", { "type": "custom", "format": "\u001b[90m┌──────────────────────Age───────────────────────────┐" }, { "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": "command", "key": " › Update ", "keyColor": "magenta", "text": "nixos-rebuild list-generations | awk '$NF == \"True\" {print $2, $3}' | xargs -I {} date -d \"{}\" +\"%s\" | awk '{diff=systime()-$1; printf \"%d days, %d hours, %d mins\\n\", diff/86400, (diff%86400)/3600, (diff%3600)/60}'" }, { "type": "uptime", "key": " › Uptime ", "keyColor": "magenta" }, { "type": "custom", "format": "\u001b[90m└────────────────────────────────────────────────────┘" }, { "type": "colors", "paddingLeft": 2, "block": { "width": 3, "range": [ 0, 15 ] } //, //"symbol": "circle" }, ] }