Skip to content

Commit b0270f3

Browse files
Logo (Builtin): add new small vanilla logo (#1167)
* Create vanilla_small.txt * Update builtin.c for new vanilla small logo * Update builtin.c * Create 23.jsonc * Update 23.jsonc * Update builtin.c --------- Co-authored-by: Carter Li <[email protected]>
1 parent fe5b07e commit b0270f3

File tree

3 files changed

+74
-0
lines changed

3 files changed

+74
-0
lines changed

presets/examples/23.jsonc

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
// designed for presenting Vanilla Linux
2+
// inspired from imstilllearnin's Vanilla Logo Ultra
3+
{
4+
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
5+
"logo": {
6+
"type": "small"
7+
},
8+
"display": {
9+
"color": {
10+
"output": "cyan"
11+
},
12+
"separator": ""
13+
},
14+
"modules": [
15+
{
16+
"type": "kernel",
17+
"key": "Vanilla ",
18+
"keyColor": "blue"
19+
},
20+
{
21+
"type": "packages",
22+
"key": " [_Packages_> ",
23+
"keyColor": "green"
24+
},
25+
{
26+
"type": "localip",
27+
"key": " [_Local_IP_> ",
28+
"keyColor": "green"
29+
},
30+
{
31+
"type": "cpu",
32+
"key": " [_CPU______> ",
33+
"keyColor": "magenta"
34+
},
35+
{
36+
"type": "memory",
37+
"key": " [_RAM______> ",
38+
"keyColor": "magenta"
39+
},
40+
{
41+
"type": "swap",
42+
"key": " [_SWAP_____> ",
43+
"keyColor": "magenta"
44+
},
45+
{
46+
"type": "disk",
47+
"key": " [_Disk_____> ",
48+
"keyColor": "magenta"
49+
},
50+
"break",
51+
{
52+
"type":"colors",
53+
"paddingLeft": 9,
54+
"symbol": "circle"
55+
}
56+
]
57+
}

src/logo/ascii/vanilla_small.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
,x.
2+
;&?^$2.$1
3+
.-e~^+7' $2)$1adbx,
4+
\#\$2. $1`,*~ ~*/
5+
`~*+-'-<ay,$2^$1
6+
$2,/ $1,%$2\ $1`\&,
7+
!&UP* $2+.$1/%?

src/logo/builtin.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4440,6 +4440,16 @@ static const FFlogo V[] = {
44404440
.colorKeys = FF_COLOR_FG_YELLOW,
44414441
.colorTitle = FF_COLOR_FG_YELLOW,
44424442
},
4443+
// VanillaSmall
4444+
{
4445+
.names = {"vanilla-small", "vanilla-os-small", "vanilla-linux-small"},
4446+
.type = FF_LOGO_LINE_TYPE_SMALL_BIT,
4447+
.lines = FASTFETCH_DATATEXT_LOGO_VANILLA_SMALL,
4448+
.colors = {
4449+
FF_COLOR_FG_LIGHT_YELLOW,
4450+
FF_COLOR_FG_YELLOW,
4451+
},
4452+
},
44434453
// Venom
44444454
{
44454455
.names = {"Venom"},

0 commit comments

Comments
 (0)