Files
fastfetch/presets/examples/20.jsonc
T

178 lines
5.9 KiB
JSON
Raw Normal View History

2024-06-12 14:06:52 +08:00
// Inspired by https://github.com/usgraphics/TR-100
{
2024-06-12 19:52:56 +08:00
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
2024-06-12 14:06:52 +08:00
"logo": null,
"display": {
"pipe": true,
2024-07-24 16:25:16 +08:00
"key": {
"width": 16
},
2024-06-12 14:06:52 +08:00
"separator": "│ ",
"percent": {
"type": ["bar", "hide-others"]
2024-06-12 14:06:52 +08:00
},
"bar": {
2025-08-01 16:05:53 +08:00
"border": null,
"char": {
"elapsed": "█",
"total": "░"
},
2024-06-12 14:06:52 +08:00
"width": 40
2024-07-15 14:01:35 +08:00
},
"constants": [
"\u001b[42C"
]
2024-06-12 14:06:52 +08:00
},
"modules": [
{
"type": "custom",
"format": "┌┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┐"
},
{
"type": "custom",
"format": "├┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┤"
},
{
"type": "version",
"key": " ",
2024-06-12 19:52:56 +08:00
"format": "│ FASTFETCH v{version} │"
2024-06-12 14:06:52 +08:00
},
{
"type": "custom",
2024-06-12 19:52:56 +08:00
"format": "│ TR-100 MACHINE REPORT │"
2024-06-12 14:06:52 +08:00
},
{
"type": "custom",
"format": "├────────────┬──────────────────────────────────────────┤"
},
{
"type": "os",
2024-07-15 14:01:35 +08:00
"key": "│ OS │{$1}"
2024-06-12 14:06:52 +08:00
},
{
"type": "kernel",
2024-07-15 14:01:35 +08:00
"key": "│ KERNEL │{$1}"
2024-06-12 14:06:52 +08:00
},
{
"type": "custom",
"format": "├────────────┼──────────────────────────────────────────┤"
},
{
"type": "title",
2024-07-15 14:01:35 +08:00
"key": "│ HOSTNAME │{$1}",
2024-06-12 14:06:52 +08:00
"format": "{host-name}"
},
{
"type": "localip",
2024-07-15 14:01:35 +08:00
"key": "│ CLIENT IP │{$1}",
2024-06-12 14:06:52 +08:00
"format": "{ipv4}"
},
{
"type": "localip",
2024-07-15 14:01:35 +08:00
"key": "│ MAC ADDR │{$1}",
2024-06-12 19:52:56 +08:00
"format": "{mac} ({ifname})",
"showIpv4": false,
2024-06-12 14:06:52 +08:00
"showMac": true
},
2024-06-12 17:22:44 +08:00
{
"type": "dns",
2024-07-15 14:01:35 +08:00
"key": "│ DNS │{$1}",
2024-06-12 19:52:56 +08:00
"showType": "ipv4"
2024-06-12 17:22:44 +08:00
},
2024-06-12 14:06:52 +08:00
{
"type": "title",
2024-07-15 14:01:35 +08:00
"key": "│ USER │{$1}",
2024-06-12 14:06:52 +08:00
"format": "{user-name}"
},
{
"type": "host",
2024-07-15 14:01:35 +08:00
"key": "│ MACHINE │{$1}",
2024-06-12 14:06:52 +08:00
"format": "{name}"
},
{
"type": "custom",
"format": "├────────────┼──────────────────────────────────────────┤"
},
{
"type": "cpu",
2024-07-15 14:01:35 +08:00
"key": "│ PROCESSOR │{$1}",
2024-06-12 14:06:52 +08:00
"format": "{name}"
},
{
"type": "cpu",
2024-07-15 14:01:35 +08:00
"key": "│ CORES │{$1}",
2024-06-12 14:06:52 +08:00
"format": "{cores-physical} PHYSICAL CORES / {cores-logical} THREADS",
"showPeCoreCount": false
},
{
"type": "cpu",
2024-07-15 14:01:35 +08:00
"key": "│ CPU FREQ │{$1}",
2024-07-29 16:44:54 +08:00
"format": "{freq-max}{/freq-max}{freq-base}{/}"
2024-06-12 14:06:52 +08:00
},
{
"type": "loadavg",
2024-06-12 19:52:56 +08:00
"compact": false,
2024-09-02 16:02:05 +08:00
"key": "│ LOAD {duration>2}m │{$1}" // pad duration to 2 chars
2024-06-12 14:06:52 +08:00
},
{
"type": "custom",
"format": "├────────────┼──────────────────────────────────────────┤"
},
{
"type": "memory",
2024-07-15 14:01:35 +08:00
"key": "│ MEMORY │{$1}",
"format": "{used} / {total} [{percentage}]",
"percent": {
"type": ["num"]
}
2024-06-12 14:06:52 +08:00
},
{
"type": "memory",
2024-07-15 14:01:35 +08:00
"key": "│ USAGE │{$1}",
"format": "",
"percent": {
"type": ["bar", "hide-others"]
}
2024-06-12 14:06:52 +08:00
},
{
"type": "custom",
"format": "├────────────┼──────────────────────────────────────────┤"
},
{
"type": "disk",
2024-07-15 14:01:35 +08:00
"key": "│ VOLUME │{$1}",
2024-06-12 14:06:52 +08:00
"format": "{size-used} / {size-total} [{size-percentage}]",
"folders": "/",
"percent": {
"type": ["num"]
}
2024-06-12 14:06:52 +08:00
},
{
"type": "disk",
2024-07-15 14:01:35 +08:00
"key": "│ DISK USAGE │{$1}",
"format": "",
"percent": {
"type": ["bar", "hide-others"]
}
2024-06-12 14:06:52 +08:00
},
{
"type": "custom",
"format": "├────────────┼──────────────────────────────────────────┤"
},
{
"type": "users",
2024-07-15 14:01:35 +08:00
"key": "│ LAST LOGIN │{$1}",
2024-06-12 19:52:56 +08:00
"format": "{login-time}{?client-ip} ({client-ip})",
"myselfOnly": true
2024-06-12 14:06:52 +08:00
},
{
"type": "uptime",
2024-07-15 14:01:35 +08:00
"key": "│ UPTIME │{$1}"
2024-06-12 14:06:52 +08:00
},
{
"type": "custom",
"format": "└────────────┴──────────────────────────────────────────┘"
}
]
}