OS Age вместо Uptime в Fastfetch
This commit is contained in:
1 parent
473158eed9
commit
8957a1fcf5
1 file changed
+19
-20
@@ -7,15 +7,15 @@
|
||||
}
|
||||
},
|
||||
// "logo": {
|
||||
// "source": "~/.config/fastfetch/chad.png",
|
||||
// "type": "auto",
|
||||
// "height": 17,
|
||||
// "source": "~/.config/fastfetch/chad.png",
|
||||
// "type": "auto",
|
||||
// "height": 17,
|
||||
// "width": 40,
|
||||
// "padding": {
|
||||
// "top": 2,
|
||||
// "padding": {
|
||||
// "top": 2,
|
||||
// "left": 2
|
||||
// }
|
||||
// },
|
||||
// }
|
||||
// },
|
||||
"display": {
|
||||
"separator": " "
|
||||
},
|
||||
@@ -52,7 +52,6 @@
|
||||
{
|
||||
"type": "disk",
|
||||
"key": "│ ├ Disk",
|
||||
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
@@ -108,17 +107,17 @@
|
||||
"type": "custom",
|
||||
"format": "\u001b[90m┌─────────Misc─────────────────────────────────────┐"
|
||||
},
|
||||
// {
|
||||
// "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": "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",
|
||||
"format": "\u001b[90m└──────────────────────────────────────────────────┘"
|
||||
@@ -128,8 +127,8 @@
|
||||
"paddingLeft": 19,
|
||||
"symbol": "circle",
|
||||
"block": {
|
||||
"width": 20
|
||||
}
|
||||
"width": 20
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user