113 lines
2.8 KiB
JSON
113 lines
2.8 KiB
JSON
// _____ _____ _____ _____ _____ _____ _____ _____ _____
|
|
// | __| _ | __|_ _| __| __|_ _| | | |
|
|
// | __| |__ | | | | __| __| | | | --| |
|
|
// |__| |__|__|_____| |_| |__| |_____| |_| |_____|__|__| HYPRLAND
|
|
//
|
|
// by Bina
|
|
|
|
|
|
{
|
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
|
"logo": {
|
|
"source": "~/.config/fastfetch/images/zloy.png",
|
|
"type": "auto",
|
|
"height": 18,
|
|
"padding": {
|
|
"top": 2
|
|
}
|
|
},
|
|
"display": {
|
|
"separator": " "
|
|
},
|
|
"modules": [
|
|
|
|
|
|
{
|
|
"type": "os",
|
|
"key": " ",
|
|
"keyColor": "34", // = color4
|
|
},
|
|
{
|
|
"type": "kernel",
|
|
"key": " ",
|
|
"keyColor": "34",
|
|
},
|
|
{
|
|
"type": "packages",
|
|
"format": "{} (pacman)",
|
|
"key": " ",
|
|
"keyColor": "34",
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"key": " ",
|
|
"keyColor": "34",
|
|
},
|
|
{
|
|
"type": "terminal",
|
|
"key": " ",
|
|
"keyColor": "34",
|
|
},
|
|
{
|
|
"type": "wm",
|
|
"key": " ",
|
|
"keyColor": "34",
|
|
},
|
|
{
|
|
"type": "display",
|
|
"key": " ",
|
|
"keyColor": "34"
|
|
},
|
|
{
|
|
"type": "cpu",
|
|
"format": "{1}",
|
|
"key": " ",
|
|
"keyColor": "34"
|
|
},
|
|
{
|
|
"type": "gpu",
|
|
"format": "{2}",
|
|
"key": " ",
|
|
"keyColor": "34"
|
|
},
|
|
{
|
|
"type": "bluetooth",
|
|
"key": " ",
|
|
"keyColor": "34"
|
|
},
|
|
{
|
|
"type": "memory",
|
|
"key": " ",
|
|
"keyColor": "34"
|
|
},
|
|
{
|
|
"type": "swap",
|
|
"key": " ",
|
|
"keyColor": "34"
|
|
},
|
|
{
|
|
"type": "disk",
|
|
"key": " ",
|
|
"keyColor": "34"
|
|
},
|
|
{
|
|
"type": "uptime",
|
|
"key": " ",
|
|
"keyColor": "34",
|
|
},
|
|
{
|
|
"type": "command",
|
|
"key": " ",
|
|
"keyColor": "34",
|
|
"text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days=$((time_progression / 86400)); years=$((days / 365)); months=$(((days % 365) / 30)); rest_days=$(((days % 365) % 30)); echo Системе $years года $months месяцев $rest_days дней"
|
|
},
|
|
"break",
|
|
{
|
|
"type": "custom",
|
|
"format": "\u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m "
|
|
},
|
|
"break",
|
|
"break",
|
|
]
|
|
}
|