Skip to content

Commit 060b692

Browse files
committed
Presets: add an example
Fix #1887
1 parent 3345c1e commit 060b692

File tree

1 file changed

+136
-0
lines changed

1 file changed

+136
-0
lines changed

presets/examples/29.jsonc

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
// #1887
2+
{
3+
"$schema": "file:///Users/carter/fastfetch/doc/json_schema.json",
4+
"logo": null,
5+
"display": {
6+
"constants": [
7+
"\u001b[s\u001b[33C│\u001b[u",
8+
" » "
9+
],
10+
"separator": "",
11+
"percent": {
12+
"type": ["num", "bar"]
13+
},
14+
"brightColor": false,
15+
"bar": {
16+
"border": {
17+
"left": "[",
18+
"leftElapsed": "[─",
19+
"right": "]",
20+
"rightElapsed": "─]"
21+
},
22+
"char": {
23+
"elapsed": "",
24+
"total": ""
25+
},
26+
"color": {
27+
"elapsed": "default",
28+
"total": "light_black"
29+
},
30+
"width": 14
31+
},
32+
"color": {
33+
"separator": "default",
34+
"keys": "default",
35+
"output": "default"
36+
}
37+
},
38+
"modules": [
39+
"title",
40+
{
41+
"type": "custom",
42+
"format": "┌────「 {#1}OS{#} 」────────────────────────────┐"
43+
},
44+
{
45+
"type": "os",
46+
"key": "│ {icon}{$2}{$1}"
47+
},
48+
{
49+
"type": "disk",
50+
"folders": "/",
51+
"key": "│ {$1}",
52+
"format": "{size-percentage-bar} {size-percentage}"
53+
},
54+
{
55+
"type": "disk",
56+
"folders": "/",
57+
"key": "│ {$1}",
58+
"format": "{size-used} / {size-total}"
59+
},
60+
{
61+
"type": "custom",
62+
"format": "└────────────────────────────────────────┘"
63+
},
64+
"break",
65+
{
66+
"type": "custom",
67+
"format": "┌────「 {#1}UI{#} 」────────────────────────────┐"
68+
},
69+
{
70+
"type": "wm",
71+
"key": "│ {icon}{$2}{$1}"
72+
},
73+
{
74+
"type": "wmtheme",
75+
"key": "│ {icon}{$2}{$1}"
76+
},
77+
{
78+
"type": "custom",
79+
"key": "│ {$1}"
80+
},
81+
{
82+
"type": "display",
83+
"key": "│ {icon}{$2}{$1}",
84+
"format": "{width}x{height} @ {refresh-rate} Hz"
85+
},
86+
{
87+
"type": "custom",
88+
"key": "│ {$1}"
89+
},
90+
{
91+
"type": "terminal",
92+
"key": "│ {icon}{$2}{$1}"
93+
},
94+
{
95+
"type": "terminalfont",
96+
"key": "│ {icon}{$2}{$1}"
97+
},
98+
{
99+
"type": "custom",
100+
"format": "└────────────────────────────────────────┘"
101+
},
102+
"break",
103+
{
104+
"type": "custom",
105+
"format": "┌────「 {#1}HW{#} 」────────────────────────────┐"
106+
},
107+
{
108+
"type": "cpu",
109+
"key": "│ {icon}{$2}{$1}",
110+
"format": "{name}"
111+
},
112+
{
113+
"type": "gpu",
114+
"key": "│ {icon}{$2}{$1}",
115+
"format": "{name}"
116+
},
117+
{
118+
"type": "custom",
119+
"key": "│ {$1}"
120+
},
121+
{
122+
"type": "memory",
123+
"key": "│ {icon}{$2}{$1}",
124+
"format": "{percentage-bar} {percentage}"
125+
},
126+
{
127+
"type": "memory",
128+
"key": "│ {$1}",
129+
"format": "{used} / {total}"
130+
},
131+
{
132+
"type": "custom",
133+
"format": "└────────────────────────────────────────┘"
134+
}
135+
]
136+
}

0 commit comments

Comments
 (0)