Presets: print DNS info in examples/20; optimise

This commit is contained in:
李通洲
2024-06-12 16:40:59 +08:00
parent 124823e643
commit e284fee4aa
+6 -3
View File
@@ -41,8 +41,7 @@
},
{
"type": "os",
"key": "│ OS │\u001b[42C",
"format": "{pretty-name}"
"key": "│ OS │\u001b[42C"
},
{
"type": "kernel",
@@ -62,6 +61,10 @@
"key": "│ CLIENT IP │\u001b[42C",
"format": "{ipv4}"
},
{
"type": "dns",
"key": "│ DNS │\u001b[42C"
},
{
"type": "localip",
"key": "│ MAC ADDR │\u001b[42C",
@@ -154,7 +157,7 @@
{
"type": "users",
"key": "│ │\u001b[42C",
"format": "{client-ip}"
"format": "{client-ip}{/client-ip}No IP info"
},
{
"type": "uptime",