diff options
| author | Ahum Maitra <theahummaitra@gmail.com> | 2025-12-09 21:37:19 +0530 |
|---|---|---|
| committer | Ahum Maitra <theahummaitra@gmail.com> | 2025-12-09 21:37:19 +0530 |
| commit | c426d301865f0bdfd6f7ba027ef5d7a0cb4afd5c (patch) | |
| tree | 573a28a183dc585cf2fa34da5bfbafa454301453 | |
| parent | 3377c6e71c3309599ac6c417da217542b38c486e (diff) | |
Maked the command much easier to read and understand
| -rw-r--r-- | config/fastfetch/config-pokemon.jsonc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/fastfetch/config-pokemon.jsonc b/config/fastfetch/config-pokemon.jsonc index f6e2fd15..ee3e59c4 100644 --- a/config/fastfetch/config-pokemon.jsonc +++ b/config/fastfetch/config-pokemon.jsonc @@ -70,7 +70,7 @@ "type": "command", "key": "", "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": "custom", |
