Presets: update examples/20

This commit is contained in:
李通洲
2024-06-12 19:52:56 +08:00
parent 36dc3c7263
commit 19690656a2
+12 -24
View File
@@ -1,6 +1,6 @@
// Inspired by https://github.com/usgraphics/TR-100
{
"$schema": "file://home/carterl/fastfetch/doc/json_schema.json",
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": null,
"display": {
"pipe": true,
@@ -29,11 +29,11 @@
{
"type": "version",
"key": " ",
"format": "│ FASTFETCH {version} │"
"format": "│ FASTFETCH v{version} │"
},
{
"type": "custom",
"format": "│ MACHINE REPORT │"
"format": "│ TR-100 MACHINE REPORT │"
},
{
"type": "custom",
@@ -64,13 +64,14 @@
{
"type": "localip",
"key": "│ MAC ADDR │\u001b[42C",
"format": "{mac}",
"format": "{mac} ({ifname})",
"showIPv4": false,
"showMac": true
},
{
"type": "dns",
"key": "│ DNS │\u001b[42C"
"key": "│ DNS │\u001b[42C",
"showType": "ipv4"
},
{
"type": "title",
@@ -100,22 +101,13 @@
{
"type": "cpu",
"key": "│ CPU FREQ │\u001b[42C",
"format": "{freq-max} GHz"
"format": "{freq-max}{/freq-max}{freq-base}{/} GHz"
},
{
"type": "loadavg",
"key": "│ LOAD 1m │\u001b[42C",
"format": "{loadavg1}"
},
{
"type": "loadavg",
"key": "│ LOAD 5m │\u001b[42C",
"format": "{loadavg2}"
},
{
"type": "loadavg",
"key": "│ LOAD 15m │\u001b[42C",
"format": "{loadavg3}"
"compact": false,
// {duration} is not fixed length, hack it
"key": "│ LOAD \u001b[s{duration}m\u001b[u\u001b[6C│\u001b[42C"
},
{
"type": "custom",
@@ -153,12 +145,8 @@
{
"type": "users",
"key": "│ LAST LOGIN │\u001b[42C",
"format": "{login-time}"
},
{
"type": "users",
"key": "│ │\u001b[42C",
"format": "{client-ip}{/client-ip}No IP info"
"format": "{login-time}{?client-ip} ({client-ip})",
"myselfOnly": true
},
{
"type": "uptime",