136 lines
3.6 KiB
JSON
136 lines
3.6 KiB
JSON
{
|
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json",
|
|
"logo": {
|
|
"type": "auto",
|
|
"source": "\"$(~/.config/fastfetch/term-test.sh)\"",
|
|
"height": 18,
|
|
"padding": {
|
|
"top": 2,
|
|
"left": 2,
|
|
"right": 4
|
|
}
|
|
},
|
|
"modules": [
|
|
{
|
|
"type": "custom",
|
|
"format": "\u001b[38;2;192;202;245m┌──────────────────────HARDWARE──────────────────────┐"
|
|
},
|
|
{
|
|
"type": "host",
|
|
"key": " PC",
|
|
"keyColor": "green"
|
|
},
|
|
{
|
|
"type": "battery",
|
|
"key": "│ ├",
|
|
"keyColor": "green"
|
|
},
|
|
{
|
|
"type": "cpu",
|
|
"key": "│ ├",
|
|
"showPeCoreCount": true,
|
|
"keyColor": "green"
|
|
},
|
|
{
|
|
"type": "gpu",
|
|
"key": "│ ├",
|
|
"detectionMethod": "pci",
|
|
"keyColor": "green"
|
|
},
|
|
{
|
|
"type": "display",
|
|
"key": "│ ├",
|
|
"keyColor": "green"
|
|
},
|
|
{
|
|
"type": "disk",
|
|
"key": "│ ├",
|
|
"keyColor": "green"
|
|
},
|
|
{
|
|
"type": "memory",
|
|
"key": "│ ├",
|
|
"keyColor": "green"
|
|
},
|
|
{
|
|
"type": "swap",
|
|
"key": "└ └ ",
|
|
"keyColor": "green"
|
|
},
|
|
{
|
|
"type": "custom",
|
|
"format": "\u001b[38;2;192;202;245m└────────────────────────────────────────────────────┘"
|
|
},
|
|
{
|
|
"type": "custom",
|
|
"format": "\u001b[38;2;192;202;245m┌──────────────────────SOFTWARE──────────────────────┐"
|
|
},
|
|
{
|
|
"type": "os",
|
|
"key": "\ue900 OS",
|
|
"keyColor": "blue",
|
|
"text": "{name}"
|
|
},
|
|
{
|
|
"type": "kernel",
|
|
"key": "│ ├",
|
|
"keyColor": "blue"
|
|
},
|
|
{
|
|
"type": "wm",
|
|
"key": "│ ├",
|
|
"keyColor": "blue"
|
|
},
|
|
{
|
|
"type": "de",
|
|
"key": " DE",
|
|
"keyColor": "blue"
|
|
},
|
|
{
|
|
"type": "terminal",
|
|
"key": "│ ├",
|
|
"keyColor": "blue"
|
|
},
|
|
{
|
|
"type": "packages",
|
|
"key": "│ ├",
|
|
"keyColor": "blue"
|
|
},
|
|
{
|
|
"type": "wmtheme",
|
|
"key": "│ ├",
|
|
"keyColor": "blue"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"key": "└ └",
|
|
"keyColor": "blue",
|
|
"text": "echo -e \"\\e[38m●\\e[37m●\\e[36m●\\e[35m●\\e[34m●\\e[33m●\\e[32m●\\e[31m●\""
|
|
},
|
|
{
|
|
"type": "custom",
|
|
"format": "\u001b[38;2;192;202;245m└────────────────────────────────────────────────────┘"
|
|
},
|
|
{
|
|
"type": "custom",
|
|
"format": "\u001b[38;2;192;202;245m┌────────────────────────TIME────────────────────────┐"
|
|
},
|
|
{
|
|
"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",
|
|
"format": "\u001b[38;2;192;202;245m└────────────────────────────────────────────────────┘"
|
|
},
|
|
"break"
|
|
]
|
|
}
|