mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-03 11:44:18 +01:00
Image: enable Chafa on Windows
It's not built by default, as imagemagick requires too many dlls.
This commit is contained in:
@@ -1017,6 +1017,14 @@ static void parseOption(FFinstance* instance, FFdata* data, const char* key, con
|
||||
optionParseString(key, value, &instance->config.logo.source);
|
||||
instance->config.logo.type = FF_LOGO_TYPE_IMAGE_CHAFA;
|
||||
}
|
||||
else if(strcasecmp(key, "--chafa-fg-only") == 0)
|
||||
{
|
||||
instance->config.logo.chafaFgOnly = optionParseBoolean(value);
|
||||
}
|
||||
else if(strcasecmp(key, "--chafa-symbols") == 0)
|
||||
{
|
||||
optionParseString(key, value, &instance->config.logo.chafaSymbols);
|
||||
}
|
||||
|
||||
///////////////////
|
||||
//Display options//
|
||||
|
||||
Reference in New Issue
Block a user