Skip to content

Commit bf17854

Browse files
committed
Presets: more examples
1 parent 8440142 commit bf17854

File tree

3 files changed

+175
-2
lines changed

3 files changed

+175
-2
lines changed

presets/examples/15.jsonc

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
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{#31} user",
21+
"type": "title",
22+
"format": "{1}"
23+
},
24+
{
25+
"key": "• •\u001b[11D{#32}󰇅 hname",
26+
"type": "title",
27+
"format": "{2}"
28+
},
29+
{
30+
"key": "• •\u001b[11D{#33}󰅐 uptime",
31+
"type": "uptime"
32+
},
33+
{
34+
"key": "• •\u001b[11D{#34}󰟾 distro",
35+
"type": "os"
36+
},
37+
{
38+
"key": "• •\u001b[11D{#35} kernel",
39+
"type": "kernel"
40+
},
41+
{
42+
"key": "• •\u001b[11D{#36}󰇄 desktop",
43+
"type": "de"
44+
},
45+
{
46+
"key": "• •\u001b[11D{#31} term",
47+
"type": "terminal"
48+
},
49+
{
50+
"key": "• •\u001b[11D{#32} shell",
51+
"type": "shell"
52+
},
53+
{
54+
"key": "• •\u001b[11D{#33}󰍛 cpu",
55+
"type": "cpu",
56+
"showPeCoreCount": true
57+
},
58+
{
59+
"key": "• •\u001b[11D{#34}󰉉 disk",
60+
"type": "disk",
61+
"folders": "/"
62+
},
63+
{
64+
"key": "• •\u001b[11D{#35} memory",
65+
"type": "memory"
66+
},
67+
{
68+
"key": "• •\u001b[11D{#36}󰩟 network",
69+
"type": "localip",
70+
"format": "{1} ({4})"
71+
},
72+
{
73+
"key": "•••••••••••••",
74+
"type": "custom"
75+
},
76+
{
77+
"key": "• •\u001b[11D{#39} colors",
78+
"type": "colors",
79+
"symbol": "circle"
80+
},
81+
{
82+
"key": "•••••••••••••",
83+
"type": "custom"
84+
}
85+
]
86+
}

presets/examples/16.jsonc

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
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{#31} user",
21+
"type": "title",
22+
"format": "{1}"
23+
},
24+
{
25+
"key": "║ ║\u001b[11D{#32}󰇅 hname",
26+
"type": "title",
27+
"format": "{2}"
28+
},
29+
{
30+
"key": "║ ║\u001b[11D{#33}󰅐 uptime",
31+
"type": "uptime"
32+
},
33+
{
34+
"key": "║ ║\u001b[11D{#34}󰟾 distro",
35+
"type": "os"
36+
},
37+
{
38+
"key": "║ ║\u001b[11D{#35} kernel",
39+
"type": "kernel"
40+
},
41+
{
42+
"key": "║ ║\u001b[11D{#36}󰇄 desktop",
43+
"type": "de"
44+
},
45+
{
46+
"key": "║ ║\u001b[11D{#31} term",
47+
"type": "terminal"
48+
},
49+
{
50+
"key": "║ ║\u001b[11D{#32} shell",
51+
"type": "shell"
52+
},
53+
{
54+
"key": "║ ║\u001b[11D{#33}󰍛 cpu",
55+
"type": "cpu",
56+
"showPeCoreCount": true
57+
},
58+
{
59+
"key": "║ ║\u001b[11D{#34}󰉉 disk",
60+
"type": "disk",
61+
"folders": "/"
62+
},
63+
{
64+
"key": "║ ║\u001b[11D{#35} memory",
65+
"type": "memory"
66+
},
67+
{
68+
"key": "║ ║\u001b[11D{#36}󰩟 network",
69+
"type": "localip",
70+
"format": "{1} ({4})"
71+
},
72+
{
73+
"key": "╠═══════════╣",
74+
"type": "custom"
75+
},
76+
{
77+
"key": "║ ║\u001b[11D{#39} colors",
78+
"type": "colors",
79+
"symbol": "circle"
80+
},
81+
{
82+
"key": "╚═══════════╝",
83+
"type": "custom"
84+
}
85+
]
86+
}

presets/examples/2.jsonc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
66
// "logo": {
77
// "type": "iterm",
8-
// "source": "/Users/carter/Desktop/apple1.png",
8+
// "source": "~/Desktop/apple1.png",
99
// "width": 28,
1010
// "height": 12
1111
// },
@@ -15,7 +15,8 @@
1515
"modules": [
1616
{
1717
"type": "custom", // HardwareStart
18-
"format": "┌─────────── {#1}Hardware Information{#} ───────────┐" // {#1} is the same as `\u001b[1m`. {#} is `\u001b[m`
18+
// {#1} is equivalent to `\u001b[1m`. {#} is equivalent to `\u001b[m`
19+
"format": "┌─────────── {#1}Hardware Information{#} ───────────┐"
1920
},
2021
{
2122
"type": "host",

0 commit comments

Comments
 (0)