87 lines
3.4 KiB
JSON
87 lines
3.4 KiB
JSON
{
|
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
|
"logo": {
|
|
"position": "top",
|
|
"padding": {
|
|
"top": 0,
|
|
"right": 0
|
|
}
|
|
},
|
|
"display": {
|
|
"separator": " ─> ",
|
|
"constants": [
|
|
"──────────────────────────────",
|
|
"───────────────────────────",
|
|
"────────────────────────────USR"
|
|
]
|
|
},
|
|
"modules": [
|
|
{
|
|
"type": "custom",
|
|
"format": " ┌{$3}{$1}┐",
|
|
"outputColor": "90"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"key": " ",
|
|
"separator": " ",
|
|
"text": "echo $' │ lorkan@COMPUTERI9 '$(uptime -p | sed 's/up //')",
|
|
"outputColor": "90"
|
|
},
|
|
{
|
|
"type": "custom",
|
|
"format": " └{$1}─{$1}┘",
|
|
"outputColor": "90"
|
|
},
|
|
{
|
|
"type": "custom",
|
|
"format": "{#90} ⋐≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣⋑ {#90} ⋐≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣⋑ {#90}"
|
|
},
|
|
{
|
|
"type": "custom",
|
|
"format": " ┌{$2}──────────SYS INFO{$1}──────────┐",
|
|
"outputColor": "90"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"key": " │ ┌",
|
|
"text": "echo \"$(grep 'model name' /proc/cpuinfo | head -1 | sed 's/.*: //') $(nvidia-smi --query-gpu=name --format=csv,noheader 2>/dev/null)\""
|
|
},
|
|
{
|
|
"type": "command",
|
|
"key": " │ ├OS",
|
|
"text": "echo \"$(source /etc/os-release && echo $PRETTY_NAME) x86_64 linux $(uname -r)\""
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"key": " │ ├"
|
|
},
|
|
{
|
|
"type": "wm",
|
|
"key": " │ ├"
|
|
},
|
|
{
|
|
"type": "lm",
|
|
"key": " │ ├"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"key": " │ ├",
|
|
"text": "echo \"$(kreadconfig6 --group 'General' --key 'ColorScheme' --file ~/.config/kdeglobals) | $(cat ~/.config/gtk-3.0/settings.ini 2>/dev/null | grep gtk-icon-theme-name | cut -d= -f2 || echo missing icons)\""
|
|
},
|
|
{
|
|
"type": "command",
|
|
"key": " │ ├",
|
|
"text": "free -h | awk '/^Mem:/{mem=$3\" / \"$2} /^Swap:/{swap=$3\" / \"$2} END{print \"\" mem \" \" swap}'"
|
|
},
|
|
{
|
|
"type": "disk",
|
|
"key": " │ └"
|
|
},
|
|
{
|
|
"type": "custom",
|
|
"format": " └{$1}─────────────────────────{$1}┘",
|
|
"outputColor": "90"
|
|
}
|
|
]
|
|
}
|