mirror of
https://github.com/ChrisTitusTech/mybash.git
synced 2026-04-11 23:18:18 +00:00
Update config.jsonc
This commit is contained in:
15
config.jsonc
15
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": "└────────────────────────────────────────────┘"
|
||||
|
||||
Reference in New Issue
Block a user