From 7538c07019dfc13d4554bb00390990c1ec69b440 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Fri, 28 Jun 2024 20:01:31 -0500 Subject: [PATCH] Update config.jsonc --- config.jsonc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/config.jsonc b/config.jsonc index 41b1b92..3ffd91c 100644 --- a/config.jsonc +++ b/config.jsonc @@ -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": "└────────────────────────────────────────────┘"