预览

这里写不下了,配置放追加帖子里
fastfetch.jsonc

这里写不下了,配置放追加帖子里
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"source": "/home/kerifei/.config/fastfetch/arch.png",
"type": "kitty-direct",
"width": 60,
"height":30,
"padding": {
"top": 1,
"left": 0
}
},
"display": {
"separator": " "
},
"modules": [
"break",
{
"type": "custom",
"format": "\u001b[90m┌───────────────────────── 硬件 ───────────────────────────────────────┐"
},
{
"type": "host",
"key": "│ PC ",
"keyColor": "white",
"keyWidth": 20
},
{
"type": "cpu",
"key": "│ ├ CPU ",
"keyColor": "white",
"keyWidth": 20
},
{
"type": "gpu",
"key": "│ ├ GPU ",
"keyColor": "white",
"keyWidth": 20
},
{
"type": "memory",
"key": "│ ├ RAM ",
"keyColor": "white",
"keyWidth": 20
},
{
"type": "custom",
"key": "│ ├ 硬盘",
"keyColor": "white",
"keyWidth": 20
},
{
"type": "disk",
"key": "│ └ 硬盘 ",
"keyColor": "white",
"keyWidth": 20
},
{
"type": "custom",
"key": "│ ├🖵 显示器 ",
"keyColor": "white",
"keyWidth": 20
},
{
"type": "Display",
"key": "│ └🖵 显示器 ",
"keyColor": "white",
"keyWidth": 20
},
"break",
{
"type": "custom",
"format": "\u001b[90m┌───────────────────────── 系统 ───────────────────────────────────────┐"
},
{
"type": "os",
"key": "│ 系统 ",
"keyColor": "yellow",
"keyWidth": 20
},
{
"type": "kernel",
"key": "│ ├ 内核 ",
"keyColor": "yellow",
"keyWidth": 20
},
{
"type": "bios",
"key": "│ ├ BIOS ",
"keyColor": "yellow",
"keyWidth": 20
},
{
"type": "packages",
"key": "│ ├ Pkgs ",
"keyColor": "yellow",
"keyWidth": 20
},
{
"type": "shell",
"key": "│ ├ Shell ",
"keyColor": "yellow",
"keyWidth": 20
},
{
"type": "locale",
"key": "│ ├🗪 语言 ",
"keyColor": "yellow",
"keyWidth": 20
},
{
"type": "localip",
"key": "│ ├🖧 本地IP ",
"keyColor": "yellow",
"keyWidth": 20
},
"break",
{
"type": "custom",
"format": "\u001b[90m┌───────────────────────── 桌面环境 ───────────────────────────────────┐"
},
{
"type": "de",
"key": "│ DE ",
"keyColor": "blue",
"keyWidth": 20
},
{
"type": "lm",
"key": "│ ├ LM ",
"keyColor": "blue",
"keyWidth": 20
},
{
"type": "wm",
"key": "│ ├ WM ",
"keyColor": "blue",
"keyWidth": 20
},
{
"type": "wmtheme",
"key": "│ ├ 主题 ",
"keyColor": "blue",
"keyWidth": 20
},
{
"type": "terminal",
"key": "│ └ Term ",
"keyColor": "blue",
"keyWidth": 20
},
"break",
{
"type": "custom",
"format": "\u001b[90m┌──────────────────────── 运行状态 ────────────────────────────────────┐"
},
{
"type": "cpu",
"key": "│ ├ 温度 ",
"temp": true,
"format": "{8}",
"keyColor": "green",
"keyWidth": 20
},
"break",
{
"type": "custom",
"format": "\u001b[90m┌──────────────────────── 时间都去哪了 ────────────────────────────────┐"
},
{
"type": "command",
"key": "│ Arch娘调教时长 ",
"keyColor": "magenta",
"text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference 天",
"keyWidth": 20
},
{
"type": "uptime",
"key": "│ 已开机 ",
"keyColor": "magenta",
"keyWidth": 20
},
{
"type": "datetime",
"key": "│ 当前时间 ",
"keyColor": "magenta",
"keyWidth": 20
},
"break",
{
"type": "colors",
"paddingLeft": 3,
"symbol": "circle"
}
]
}