From 1c59f1ae62e87cac8d70ac6b3f17ce7cd43c13f1 Mon Sep 17 00:00:00 2001 From: Ahum Maitra Date: Thu, 11 Dec 2025 19:52:46 +0530 Subject: [PATCH] enhancement : Fixed the messy and long command (#3842) --- config/fastfetch/config.jsonc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/fastfetch/config.jsonc b/config/fastfetch/config.jsonc index ddee6f36..ea6b59e1 100644 --- a/config/fastfetch/config.jsonc +++ b/config/fastfetch/config.jsonc @@ -134,7 +134,7 @@ "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" + "text": "echo $(( ($(date +%s) - $(stat -c %W /)) / 86400 )) days" }, { "type": "uptime",