diff options
| author | Donald Williams <129223418+dwilliam62@users.noreply.github.com> | 2025-12-09 11:53:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-09 11:53:14 -0500 |
| commit | 826267ba5ab9425628657bc2e1bfc33b3cac3067 (patch) | |
| tree | a312bbc5fd37ae7e9a0f7b40ccf8fef0793920aa /config/fastfetch | |
| parent | 1b0d14adf7df02b3f73c7731f6df63ae1a6bc98d (diff) | |
| parent | fc84bb7e538fa0cd35d458fb03c69ea3f5c6e946 (diff) | |
Merge pull request #877 from TheAhumMaitra/fix-long-command
fix : the messy comamnd for os age calculation in pokemon fastfetch config file
Diffstat (limited to 'config/fastfetch')
| -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 d7f37f27..63f60378 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", |
