From cbd9f72bc8d4d99b3a81131d4b2b9dbb31839c0a Mon Sep 17 00:00:00 2001 From: xzvf Date: Thu, 17 Apr 2025 16:52:45 +0200 Subject: [PATCH] T2/SDE: upstreaming downstream's logo change (#1695) * T2/SDE: upstreaming downstream's logo change T2/SDE port of fastfetch applies two patches, improving the distribution's logo and adding alternative names. I see no point not having these upstream. Downstream's patches are found here: https://github.com/rxrbln/t2sde/tree/main/package/contrib/fastfetch The old logo has been renamed to "T2_small". * Fix ASCII art alignment in t2.txt --------- Co-authored-by: Carter Li --- src/logo/ascii/t2.txt | 20 ++++++++++++++------ src/logo/ascii/t2_small.txt | 6 ++++++ src/logo/builtin.c | 14 +++++++++++++- 3 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 src/logo/ascii/t2_small.txt diff --git a/src/logo/ascii/t2.txt b/src/logo/ascii/t2.txt index 5ab9870cf..1a4b858ce 100644 --- a/src/logo/ascii/t2.txt +++ b/src/logo/ascii/t2.txt @@ -1,6 +1,14 @@ -${c2}TTTTTTTTTT - tt ${c1}222${c2} - tt ${c1}2 2${c2} - tt ${c1}2${c2} - tt ${c1}2${c2} - tt ${c1}22222${c2} \ No newline at end of file + $3//$2 + $3//$2 + $1TTTTTTTTTTTTTTT$2 $3//$2 $1..::$2 $4:-:.$2 + $4ttt$2 $3//$2 $1.::.$2 $4.:-:$2 + $4ttt$2 $3//$2 $1.:.$2 $4--$2 + $4ttt$2 $3//$2 $4:-:$2 + $4ttt$2 $3//$2 $4.:-:$2 + $4ttt$2 $3//$2 $4:-:.$2 + $4ttt$2 $3//$2 $4.--.$2 + $4ttt$2 $3//$2 $4.:-:$2 + $4ttt$2 $3//$2 $4...$2 + $4ttt$2 $3//$2 + $3//$2 $3.:::::::::::.$2 + $3//$2 diff --git a/src/logo/ascii/t2_small.txt b/src/logo/ascii/t2_small.txt new file mode 100644 index 000000000..5ab9870cf --- /dev/null +++ b/src/logo/ascii/t2_small.txt @@ -0,0 +1,6 @@ +${c2}TTTTTTTTTT + tt ${c1}222${c2} + tt ${c1}2 2${c2} + tt ${c1}2${c2} + tt ${c1}2${c2} + tt ${c1}22222${c2} \ No newline at end of file diff --git a/src/logo/builtin.c b/src/logo/builtin.c index dce7a19cf..696d4aaf2 100644 --- a/src/logo/builtin.c +++ b/src/logo/builtin.c @@ -4590,8 +4590,20 @@ static const FFlogo S[] = { static const FFlogo T[] = { // T2 { - .names = {"T2"}, + .names = {"T2", "T2 SDE", "T2/Linux"}, .lines = FASTFETCH_DATATEXT_LOGO_T2, + .colors = { + FF_COLOR_FG_RED, + FF_COLOR_FG_WHITE, + FF_COLOR_FG_YELLOW, + FF_COLOR_FG_BLUE, + }, + }, + // T2Small + { + .names = {"T2_small", "T2 SDE_small", "T2/Linux_small"}, + .type = FF_LOGO_LINE_TYPE_SMALL_BIT, + .lines = FASTFETCH_DATATEXT_LOGO_T2_SMALL, .colors = { FF_COLOR_FG_WHITE, FF_COLOR_FG_BLUE,