fastfetch/presets/examples/2.jsonc 2.2 K raw
1
// Load with --load-config examples/2.jsonc
2
// Note that you must replace the image path to an existing image to display it.
3
4
{
5
    "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
6
    // "logo": {
7
    //     "type": "iterm",
8
    //     "source": "~/Desktop/apple1.png",
9
    //     "width": 28,
10
    //     "height": 12
11
    // },
12
    "display": {
13
        "separator": "  ",
14
        "constants": [
15
            "─────────────────" // {$1}, used in Custom module
16
        ],
17
        "key": {
18
            "type": "icon",
19
            "paddingLeft": 2
20
        }
21
    },
22
    "modules": [
23
        {
24
            "type": "custom", // HardwareStart
25
            // {#1} is equivalent to `\u001b[1m`. {#} is equivalent to `\u001b[m`
26
            "format": "┌{$1} {#1}Hardware Information{#} {$1}┐"
27
        },
28
        "host",
29
        "cpu",
30
        "gpu",
31
        "disk",
32
        "memory",
33
        "swap",
34
        "display",
35
        "brightness",
36
        "battery",
37
        "poweradapter",
38
        "bluetooth",
39
        "sound",
40
        "gamepad",
41
        {
42
            "type": "custom", // SoftwareStart
43
            "format": "├{$1} {#1}Software Information{#} {$1}┤"
44
        },
45
        {
46
            "type": "title",
47
            "keyIcon": "",
48
            "key": "Title", // Title module has no key by default, so that icon is not displayed
49
            "format": "{user-name}@{host-name}"
50
        },
51
        "os",
52
        "kernel",
53
        "lm",
54
        "de",
55
        "wm",
56
        "shell",
57
        "terminal",
58
        "terminalfont",
59
        "theme",
60
        "icons",
61
        "wallpaper",
62
        "packages",
63
        "uptime",
64
        "media",
65
        {
66
            "type": "localip",
67
            "compact": true
68
        },
69
        {
70
            "type": "publicip",
71
            "timeout": 1000
72
        },
73
        {
74
            "type": "wifi",
75
            "format": "{ssid}"
76
        },
77
        "locale",
78
        {
79
            "type": "custom", // InformationEnd
80
            "format": "└{$1}──────────────────────{$1}┘"
81
        },
82
        {
83
            "type": "colors",
84
            "paddingLeft": 2,
85
            "symbol": "circle"
86
        }
87
    ]
88
}