Update config.jsonc

This commit is contained in:
Chris Titus
2024-06-28 20:01:31 -05:00
committed by GitHub
parent 0ad6f4baa9
commit 7538c07019

View File

@@ -58,6 +58,21 @@
"type": "shell",
"key": " "
},
{
"type": "custom",
"format": "|────────────────────\u001b[1mUptime / Age\u001b[0m────────────────────|"
},
{
"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", // InformationEnd
"format": "└────────────────────────────────────────────┘"