Files
dotfiles/.config/matugen/templates/fastfetch-config.jsonc
2026-02-06 17:17:48 +08:00

125 lines
3.5 KiB
JSON

{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json",
"logo": {
"type": "kitty",
//"source": "/home/shorin/Pictures/picture.png",
"width": 25,
// "height":20,
"padding": {
"top": 1, // Top padding
"left": 2, // Left padding
"right": 2 // Right padding
},
},
"display": {
"separator": " ", // Separator between keys and values
"color": {
//"keys": "{{colors.secondary.default.hex}}", // Key color module名字的颜色
"title": "{{colors.on_surface_variant.default.hex}}", // Title color 主机名的颜色
"output": "{{colors.on_surface_variant.default.hex}}"
},
},
"modules": [
"break",
{
"type": "os", //这是哪个module
"key": "OS", //module名字的显示
// "keyColor": "#00ff00", //module名字颜色
// "format": "{name} {version}", //具体内容
"keyColor": "{{colors.primary.default.hex}}",
},
{
"type": "kernel",
"key": " ├  KER ",
"keyColor": "{{colors.primary.default.hex}}",
},
{
"type": "packages",
"key": " ├  PAK ",
"format": "{all}",
"keyColor": "{{colors.primary.default.hex}}",
},
{
"type": "title",
"key": " └  USR ",
"keyColor": "{{colors.primary.default.hex}}",
},
"break",
"break",
{
"type": "wm",
"key": "WM",
"keyColor": "{{colors.tertiary.default.hex}}",
},
{
"type": "de",
"key": " ├ 󱈹 DES ",
"keyColor": "{{colors.tertiary.default.hex}}",
//"outputColor": "{{colors.tertiary_fixed_dim.default.hex}}"
},
{
"type": "shell",
"key": " ├  SHE ",
"keyColor": "{{colors.tertiary.default.hex}}",
//"outputColor": "{{colors.tertiary_fixed_dim.default.hex}}"
},
{
"type": "terminal",
"key": " ├  TER ",
"keyColor": "{{colors.tertiary.default.hex}}",
//"outputColor": "{{colors.tertiary_fixed_dim.default.hex}}"
},
{
"type": "terminalfont",
"key": " └  TFO ",
"keyColor": "{{colors.tertiary.default.hex}}",
//"outputColor": "{{colors.tertiary_fixed_dim.default.hex}}"
},
"break",
"break",
{
"type": "host",
"key": "PC ",
"keyColor": "{{colors.secondary_fixed.default.hex}}",
//"outputColor": "{{colors.secondary_fixed_dim.default.hex}}"
},
{
"type": "cpu",
"key": " ├  CPU ",
"keyColor": "{{colors.secondary_fixed.default.hex}}",
//"outputColor": "{{colors.secondary_fixed_dim.default.hex}}"
},
{
"type": "memory",
"key": " ├  MEM ",
"keyColor": "{{colors.secondary_fixed.default.hex}}",
//"outputColor": "{{colors.secondary_fixed_dim.default.hex}}"
},
{
"type": "gpu",
"key": " ├ 󰢮 GPU ",
"format": "{1} {2}",
"keyColor": "{{colors.secondary_fixed.default.hex}}",
//"outputColor": "{{colors.secondary_fixed_dim.default.hex}}"
},
{
"type": "display",
"key": " ├  MON ",
"format": "{name} {width}x{height}@{refresh-rate} ",
"keyColor": "{{colors.secondary_fixed.default.hex}}",
//"outputColor": "{{colors.secondary_fixed_dim.default.hex}}"
},
{
"type": "disk",
"key": " └ 󰋊 DIS ",
"keyColor": "{{colors.secondary_fixed.default.hex}}",
//"outputColor": "{{colors.secondary_fixed_dim.default.hex}}"
},
"break",
"break",
"colors"
]
}