mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2025-02-20 11:43:27 +08:00
Generic Linux logo
This commit is contained in:
parent
4e68c09f27
commit
00fdb8a0c4
@ -42,11 +42,11 @@ Title, Separator, OS, Host, Kernel, Uptime, Processes, Packages, Shell, Resoluti
|
|||||||
|
|
||||||
##### Logos
|
##### Logos
|
||||||
```
|
```
|
||||||
Android, Arch, Arco, Artix, CachyOS, CentOS, Debian, Endeavour, Fedora, Garuda, Gentoo, Manjaro, Mint, Pop!_OS, RebornOS, Ubuntu, Void, Zorin
|
Android, Arch, Arco, Artix, CachyOS, CentOS, Debian, Endeavour, Fedora, Garuda, Gentoo, Linux, Manjaro, Mint, Pop!_OS, RebornOS, Ubuntu, Void, Zorin
|
||||||
```
|
```
|
||||||
* Most of the logos have a small variant. Access it by appending _small to the logo name.
|
* Most of the logos have a small variant. Access it by appending _small to the logo name.
|
||||||
* Some logos have an old variant. Access it by appending _old to the logo name.
|
* Some logos have an old variant. Access it by appending _old to the logo name.
|
||||||
* Unknown/unsupported logos will be replaced with a question mark when running fastfetch.
|
* Unknown/unsupported logos will be replaced with a generic linux logo when running fastfetch.
|
||||||
* Get a list of all available logos with `fastfetch --print-logos`.
|
* Get a list of all available logos with `fastfetch --print-logos`.
|
||||||
|
|
||||||
##### Package managers
|
##### Package managers
|
||||||
|
@ -592,6 +592,32 @@ static const FFlogo* getLogoGentooSmall()
|
|||||||
FF_LOGO_RETURN
|
FF_LOGO_RETURN
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static const FFlogo* getLogoLinux()
|
||||||
|
{
|
||||||
|
FF_LOGO_INIT
|
||||||
|
FF_LOGO_NAMES("linux", "linux-generic")
|
||||||
|
FF_LOGO_LINES(
|
||||||
|
"$2 ##### \n"
|
||||||
|
"$2 ####### \n"
|
||||||
|
"$2 ##$1O$2#$1O$2## \n"
|
||||||
|
"$2 #$3#####$2# \n"
|
||||||
|
"$2 ##$1##$3###$1##$2## \n"
|
||||||
|
"$2 #$1##########$2## \n"
|
||||||
|
"$2 #$1############$2## \n"
|
||||||
|
"$2 #$1############$2### \n"
|
||||||
|
"$3 ##$2#$1###########$2##$3# \n"
|
||||||
|
"$3######$2#$1#######$2#$3######\n"
|
||||||
|
"$3#######$2#$1#####$2#$3#######\n"
|
||||||
|
"$3 #####$2#######$3##### "
|
||||||
|
)
|
||||||
|
FF_LOGO_COLORS(
|
||||||
|
"37", //white
|
||||||
|
"30", //black
|
||||||
|
"33" //yellow
|
||||||
|
)
|
||||||
|
FF_LOGO_RETURN
|
||||||
|
}
|
||||||
|
|
||||||
static const FFlogo* getLogoManjaro()
|
static const FFlogo* getLogoManjaro()
|
||||||
{
|
{
|
||||||
FF_LOGO_INIT
|
FF_LOGO_INIT
|
||||||
@ -776,30 +802,30 @@ static const FFlogo* getLogoReborn()
|
|||||||
FF_LOGO_INIT
|
FF_LOGO_INIT
|
||||||
FF_LOGO_NAMES("reborn", "reborn-os", "rebornos", "rebornos-linux", "reborn-os-linux")
|
FF_LOGO_NAMES("reborn", "reborn-os", "rebornos", "rebornos-linux", "reborn-os-linux")
|
||||||
FF_LOGO_LINES(
|
FF_LOGO_LINES(
|
||||||
"$1 ::::::::::::::::::::::: \n"
|
"$1 ::::::::::::::::::::::: \n"
|
||||||
"$1 .:^!!!!!!!!!^.^!!!!!!!!!^:. \n"
|
"$1 .:^!!!!!!!!!^.^!!!!!!!!!^:. \n"
|
||||||
"$1 .:~!!!!!!!!!!^.^!!!!!!!!!!~:. \n"
|
"$1 .:~!!!!!!!!!!^.^!!!!!!!!!!~:. \n"
|
||||||
"$1 .:~!!!!!~~~~~~^.^~~~~~~!!!!!~:. \n"
|
"$1 .:~!!!!!~~~~~~^.^~~~~~~!!!!!~:. \n"
|
||||||
"$1 .^!!!!!~::$2=====:.:=====$1::~!!!!!^. \n"
|
"$1 .^!!!!!~::$2=====:.:=====$1::~!!!!!^. \n"
|
||||||
"$1 .::^~~!!~:$2^77777?~.~?77777^$1:~!!~~^::. \n"
|
"$1 .::^~~!!~:$2^77777?~.~?77777^$1:~!!~~^::. \n"
|
||||||
"$1 .:~~^:::^.$2^77777!!^.^7!77777^$1.^:::^~~:. \n"
|
"$1 .:~~^:::^.$2^77777!!^.^7!77777^$1.^:::^~~:. \n"
|
||||||
"$1 .:~!!!!~::::$2^~!!::^^^^^::!!~^$1::::~!!!!~:. \n"
|
"$1 .:~!!!!~::::$2^~!!::^^^^^::!!~^$1::::~!!!!~:. \n"
|
||||||
"$1 .^!!!!!~::$2!7!~^:.^?JJJJJ?^.:^~!7!$1::~!!!!!^. \n"
|
"$1 .^!!!!!~::$2!7!~^:.^?JJJJJ?^.:^~!7!$1::~!!!!!^. \n"
|
||||||
"$1.:^!!!!!~:$2^77777~.~JJJJJJJJJ~.~77777^$1:~!!!!!^:.\n"
|
"$1.:^!!!!!~:$2^77777~.~JJJJJJJJJ~.~77777^$1:~!!!!!^:.\n"
|
||||||
"$1.:^!!!!!~:$2^77777~.~JJJJJJJJJ~.~77777^$1:~!!!!!^:.\n"
|
"$1.:^!!!!!~:$2^77777~.~JJJJJJJJJ~.~77777^$1:~!!!!!^:.\n"
|
||||||
"$1 .^!!!!!~::$2!7!~^:.^?JJJJJ?^.:^~!7!$1::~!!!!!^. \n"
|
"$1 .^!!!!!~::$2!7!~^:.^?JJJJJ?^.:^~!7!$1::~!!!!!^. \n"
|
||||||
"$1 .:~!!!!~::$2::^~!!::^^^^^::!!~^::$1::~!!!!~:. \n"
|
"$1 .:~!!!!~::$2::^~!!::^^^^^::!!~^::$1::~!!!!~:. \n"
|
||||||
"$1 .:~~^:::^.$2^77777!!^.^7!77777^.$1^:::^~~:. \n"
|
"$1 .:~~^:::^.$2^77777!!^.^7!77777^.$1^:::^~~:. \n"
|
||||||
"$1 .::^~~!!~:$2^77777?~.~?77777^$1:~!!~~^::. \n"
|
"$1 .::^~~!!~:$2^77777?~.~?77777^$1:~!!~~^::. \n"
|
||||||
"$1 .^!!!!!~::$2=====:.:=====$1::~!!!!!^. \n"
|
"$1 .^!!!!!~::$2=====:.:=====$1::~!!!!!^. \n"
|
||||||
"$1 .:~!!!!!~~~~~~^.^~~~~~~!!!!!~:. \n"
|
"$1 .:~!!!!!~~~~~~^.^~~~~~~!!!!!~:. \n"
|
||||||
"$1 .:~!!!!!!!!!!^.^!!!!!!!!!!~:. \n"
|
"$1 .:~!!!!!!!!!!^.^!!!!!!!!!!~:. \n"
|
||||||
"$1 .:^!!!!!!!!!^.^!!!!!!!!!^:. \n"
|
"$1 .:^!!!!!!!!!^.^!!!!!!!!!^:. \n"
|
||||||
"$1 ::::::::::::::::::::::: \n"
|
"$1 ::::::::::::::::::::::: \n"
|
||||||
)
|
)
|
||||||
FF_LOGO_COLORS(
|
FF_LOGO_COLORS(
|
||||||
"34", //blue
|
"34", //blue
|
||||||
"36" //cyan
|
"36" //cyan
|
||||||
)
|
)
|
||||||
FF_LOGO_RETURN
|
FF_LOGO_RETURN
|
||||||
}
|
}
|
||||||
@ -816,13 +842,13 @@ static const FFlogo* getLogoRebornSmall()
|
|||||||
"$1 / / \\___/ \\ \\ \n"
|
"$1 / / \\___/ \\ \\ \n"
|
||||||
"$1/____/____/ \\____\\____\\ \n"
|
"$1/____/____/ \\____\\____\\ \n"
|
||||||
"$1\\ \\ \\___/ / / \n"
|
"$1\\ \\ \\___/ / / \n"
|
||||||
"$1 \\ \\ / \\ / / \n"
|
"$1 \\ \\ / \\ / / \n"
|
||||||
"$1 \\ \\/_______\\/ / \n"
|
"$1 \\ \\/_______\\/ / \n"
|
||||||
"$1 \\ / \\ / \n"
|
"$1 \\ / \\ / \n"
|
||||||
"$1 \\_/___________\\_/ \n"
|
"$1 \\_/___________\\_/ \n"
|
||||||
)
|
)
|
||||||
FF_LOGO_COLORS(
|
FF_LOGO_COLORS(
|
||||||
"34" //blue
|
"34" //blue
|
||||||
)
|
)
|
||||||
FF_LOGO_RETURN
|
FF_LOGO_RETURN
|
||||||
}
|
}
|
||||||
@ -984,6 +1010,7 @@ static GetLogoMethod* getLogoMethods()
|
|||||||
getLogoGaruda,
|
getLogoGaruda,
|
||||||
getLogoGentoo,
|
getLogoGentoo,
|
||||||
getLogoGentooSmall,
|
getLogoGentooSmall,
|
||||||
|
getLogoLinux,
|
||||||
getLogoManjaro,
|
getLogoManjaro,
|
||||||
getLogoManjaroSmall,
|
getLogoManjaroSmall,
|
||||||
getLogoMint,
|
getLogoMint,
|
||||||
@ -1110,10 +1137,10 @@ void ffLoadLogo(FFinstance* instance)
|
|||||||
const FFOSResult* result = ffDetectOS(instance);
|
const FFOSResult* result = ffDetectOS(instance);
|
||||||
|
|
||||||
if(
|
if(
|
||||||
!loadLogoSetWithVersion(instance, &result->versionID, &result->name) &&
|
!loadLogoSetWithVersion(instance, &result->versionID, &result->name) && //e.g. Pop!_OS
|
||||||
!loadLogoSetWithVersion(instance, &result->versionID, &result->id) &&
|
!loadLogoSetWithVersion(instance, &result->versionID, &result->id) && //e.g. popos
|
||||||
!loadLogoSetWithVersion(instance, &result->versionID, &result->systemName) &&
|
!loadLogoSetWithVersion(instance, &result->versionID, &result->idLike) && //e.g. ubuntu
|
||||||
!loadLogoSetWithVersion(instance, &result->versionID, &result->idLike)
|
!loadLogoSetWithVersion(instance, &result->versionID, &result->systemName) //e.g. linux
|
||||||
) setLogo(instance, getLogoUnknown());
|
) setLogo(instance, getLogoUnknown());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user