Skip to content

Commit eeceade

Browse files
committed
Logo (Builtin): add rhel_small
Fix #1774
1 parent 1875c78 commit eeceade

File tree

2 files changed

+30
-12
lines changed

2 files changed

+30
-12
lines changed

src/logo/ascii/rhel_small.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.M.:MMM
2+
MMMMMMMMMM.
3+
,MMMMMMMMMMM
4+
.MM MMMMMMMMMMM
5+
MMMM MMMMMMMMM
6+
MMMMMM MM
7+
MMMMMMMMM ,MMMM
8+
MMMMMMMMMMMMMMMM:
9+
`MMMMMMMMMMMM

src/logo/builtin.c

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4060,17 +4060,28 @@ static const FFlogo R[] = {
40604060
},
40614061
// RedHatEnterpriseLinux
40624062
{
4063-
.names = {"rhel", "redhat", "redhat-linux"},
4063+
.names = {"rhel", "redhat"},
40644064
.lines = FASTFETCH_DATATEXT_LOGO_RHEL,
40654065
.colors = {
40664066
FF_COLOR_FG_RED,
40674067
},
40684068
.colorKeys = FF_COLOR_FG_RED,
40694069
.colorTitle = FF_COLOR_FG_RED,
40704070
},
4071+
// RedHatEnterpriseLinux
4072+
{
4073+
.names = {"rhel_small", "redhat_small"},
4074+
.type = FF_LOGO_LINE_TYPE_SMALL_BIT,
4075+
.lines = FASTFETCH_DATATEXT_LOGO_RHEL_SMALL,
4076+
.colors = {
4077+
FF_COLOR_FG_RED,
4078+
},
4079+
.colorKeys = FF_COLOR_FG_RED,
4080+
.colorTitle = FF_COLOR_FG_RED,
4081+
},
40714082
// RedHatEnterpriseLinux_old
40724083
{
4073-
.names = {"rhel_old", "redhat_old", "redhat-linux_old"},
4084+
.names = {"rhel_old", "redhat_old"},
40744085
.type = FF_LOGO_LINE_TYPE_ALTER_BIT,
40754086
.lines = FASTFETCH_DATATEXT_LOGO_RHEL_OLD,
40764087
.colors = {
@@ -4082,11 +4093,10 @@ static const FFlogo R[] = {
40824093
{
40834094
.names = {"RedOS", "RED OS", "red-os", "redos"},
40844095
.lines = FASTFETCH_DATATEXT_LOGO_REDOS,
4085-
.colors =
4086-
{
4087-
FF_COLOR_FG_RED,
4088-
FF_COLOR_FG_WHITE,
4089-
},
4096+
.colors = {
4097+
FF_COLOR_FG_RED,
4098+
FF_COLOR_FG_WHITE,
4099+
},
40904100
.colorTitle = FF_COLOR_FG_RED,
40914101
.colorKeys = FF_COLOR_FG_RED,
40924102
},
@@ -4095,11 +4105,10 @@ static const FFlogo R[] = {
40954105
.names = {"RedOS_small", "RED OS_small", "red-os_small", "redos_small"},
40964106
.type = FF_LOGO_LINE_TYPE_SMALL_BIT,
40974107
.lines = FASTFETCH_DATATEXT_LOGO_REDOS_SMALL,
4098-
.colors =
4099-
{
4100-
FF_COLOR_FG_RED,
4101-
FF_COLOR_FG_WHITE,
4102-
},
4108+
.colors = {
4109+
FF_COLOR_FG_RED,
4110+
FF_COLOR_FG_WHITE,
4111+
},
41034112
.colorTitle = FF_COLOR_FG_RED,
41044113
.colorKeys = FF_COLOR_FG_RED,
41054114
},

0 commit comments

Comments
 (0)