Skip to content

Commit fb267ac

Browse files
committed
Presets: add new config; fix old config
1 parent ba3e26f commit fb267ac

3 files changed

Lines changed: 72 additions & 6 deletions

File tree

presets/examples/20.jsonc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
"type": ["bar", "hide-others"]
1313
},
1414
"bar": {
15-
"borderLeft": "",
16-
"borderRight": "",
17-
"charElapsed": "",
18-
"charTotal": "",
15+
"border": null,
16+
"char": {
17+
"elapsed": "",
18+
"total": ""
19+
},
1920
"width": 40
2021
},
2122
"constants": [

presets/examples/28.jsonc

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
3+
"logo": {
4+
"type": "small"
5+
},
6+
"display": {
7+
"separator": " ",
8+
"key": {
9+
"type": "both"
10+
},
11+
"bar": {
12+
"border": {
13+
"left": "\uee00",
14+
"leftElapsed": "\uee03",
15+
"right": "\uee02",
16+
"rightElapsed": "\uee05"
17+
},
18+
"char": {
19+
"total": "\uee01",
20+
"elapsed": "\uee04"
21+
},
22+
"color": {
23+
"total": null
24+
}
25+
},
26+
"percent": {
27+
"type": [
28+
"bar",
29+
"bar-monochrome"
30+
]
31+
}
32+
},
33+
"modules": [
34+
"title",
35+
"separator",
36+
{
37+
"type": "memory",
38+
"key": "MEM"
39+
},
40+
{
41+
"type": "swap",
42+
"key": "SWP"
43+
},
44+
{
45+
"type": "disk",
46+
"folders": "/",
47+
"key": "DSK"
48+
},
49+
{
50+
"type": "battery",
51+
"key": "BAT"
52+
},
53+
{
54+
"type": "brightness",
55+
"key": "BGT"
56+
},
57+
{
58+
"type": "colors",
59+
"paddingLeft": 6,
60+
"symbol": "circle"
61+
}
62+
]
63+
}

presets/examples/9.jsonc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
"width": 11
99
},
1010
"bar": {
11-
"charElapsed": "=",
12-
"charTotal": "-",
11+
"char": {
12+
"elapsed": "=",
13+
"total": "-"
14+
},
1315
"width": 13
1416
},
1517
"percent": {

0 commit comments

Comments
 (0)