mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
enhancement : Fixed the messy and long command (#3842)
This commit is contained in:
@@ -134,7 +134,7 @@
|
|||||||
"type": "command",
|
"type": "command",
|
||||||
"key": " OS Age",
|
"key": " OS Age",
|
||||||
"keyColor": "magenta",
|
"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",
|
"type": "uptime",
|
||||||
|
|||||||
Reference in New Issue
Block a user