Skip to content

Commit 3ece4e3

Browse files
committed
Presets: add a new example [ci skip]
1 parent 6d72a32 commit 3ece4e3

File tree

2 files changed

+88
-1
lines changed

2 files changed

+88
-1
lines changed

presets/examples/29.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// #1887
22
{
3-
"$schema": "file:///Users/carter/fastfetch/doc/json_schema.json",
3+
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
44
"logo": null,
55
"display": {
66
"constants": [

presets/examples/30.jsonc

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
3+
"logo": null,
4+
"display": {
5+
"key": {
6+
"type": "both",
7+
"paddingLeft": 6,
8+
"width": 17
9+
}
10+
},
11+
"modules": [
12+
{
13+
"type": "custom",
14+
"format": "|---------------------: {#1}Hardware{#} : ---------------------|"
15+
},
16+
"break",
17+
{
18+
"keyColor": "green",
19+
"type": "host"
20+
},
21+
{
22+
"keyColor": "green",
23+
"type": "cpu"
24+
},
25+
{
26+
"keyColor": "yellow",
27+
"type": "memory"
28+
},
29+
{
30+
"keyColor": "yellow",
31+
"type": "swap"
32+
},
33+
{
34+
"type": "custom",
35+
"keyIcon": "",
36+
"key": "Disks"
37+
},
38+
{
39+
"type": "disk",
40+
"key": " ",
41+
"format": " [{mountpoint}] - {size-used} / {size-total} ({size-percentage})"
42+
},
43+
"break",
44+
{
45+
"type": "title",
46+
"format": "|-------------------------------------------------------|\u001b[40D: {#1}{user-name} @ {host-name}{#} :"
47+
},
48+
"break",
49+
{
50+
"type": "os",
51+
"keyColor": "cyan"
52+
},
53+
{
54+
"type": "kernel",
55+
"keyColor": "cyan"
56+
},
57+
{
58+
"type": "packages",
59+
"keyColor": "red",
60+
"key": "Pkgs"
61+
},
62+
{
63+
"type": "shell",
64+
"keyColor": "red"
65+
},
66+
{
67+
"type": "terminal",
68+
"key": "Term",
69+
"keyColor": "red"
70+
},
71+
{
72+
"type": "locale",
73+
"keyColor": "magenta"
74+
},
75+
"break",
76+
{
77+
"type": "custom",
78+
"format": "|---------------------: {#1}Software{#} : ---------------------|"
79+
},
80+
"break",
81+
{
82+
"type": "colors",
83+
"symbol": "circle",
84+
"paddingLeft": 8
85+
}
86+
]
87+
}

0 commit comments

Comments
 (0)