Skip to content

Commit cd783d1

Browse files
committed
Presets: add a new example
1 parent 8148053 commit cd783d1

File tree

2 files changed

+86
-1
lines changed

2 files changed

+86
-1
lines changed

presets/examples/11.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "file:///C:/msys64/home/zhang/fastfetch/doc/json_schema.json",
2+
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
33
"logo": {
44
"type": "small"
55
},

presets/examples/13.jsonc

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
3+
"logo": {
4+
"type": "small",
5+
"padding": {
6+
"top": 1
7+
}
8+
},
9+
"display": {
10+
"separator": "",
11+
"keyWidth": 15
12+
},
13+
"modules": [
14+
{
15+
"key": "╭───────────╮",
16+
"type": "custom"
17+
},
18+
{
19+
// draw borders first to make colors of left and right border consistant
20+
"key": "│ │\u001b[11D\u001b[31m user",
21+
"type": "title",
22+
"format": "{1}"
23+
},
24+
{
25+
"key": "│ │\u001b[11D\u001b[32m󰇅 hname",
26+
"type": "title",
27+
"format": "{2}"
28+
},
29+
{
30+
"key": "│ │\u001b[11D\u001b[33m󰅐 uptime",
31+
"type": "uptime"
32+
},
33+
{
34+
"key": "│ │\u001b[11D\u001b[34m󰟾 distro",
35+
"type": "os"
36+
},
37+
{
38+
"key": "│ │\u001b[11D\u001b[35m kernel",
39+
"type": "kernel"
40+
},
41+
{
42+
"key": "│ │\u001b[11D\u001b[36m󰇄 desktop",
43+
"type": "de"
44+
},
45+
{
46+
"key": "│ │\u001b[11D\u001b[31m term",
47+
"type": "terminal"
48+
},
49+
{
50+
"key": "│ │\u001b[11D\u001b[32m shell",
51+
"type": "shell"
52+
},
53+
{
54+
"key": "│ │\u001b[11D\u001b[33m󰍛 cpu",
55+
"type": "cpu"
56+
},
57+
{
58+
"key": "│ │\u001b[11D\u001b[34m󰉉 disk",
59+
"type": "disk",
60+
"folders": "/"
61+
},
62+
{
63+
"key": "│ │\u001b[11D\u001b[35m memory",
64+
"type": "memory"
65+
},
66+
{
67+
"key": "│ │\u001b[11D\u001b[36m󰩟 network",
68+
"type": "localip",
69+
"format": "{1} ({4})"
70+
},
71+
{
72+
"key": "├───────────┤",
73+
"type": "custom"
74+
},
75+
{
76+
"key": "│ │\u001b[11D\u001b[m colors",
77+
"type": "colors",
78+
"symbol": "circle"
79+
},
80+
{
81+
"key": "╰───────────╯",
82+
"type": "custom"
83+
}
84+
]
85+
}

0 commit comments

Comments
 (0)