mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
rewrote logo code
This commit is contained in:
+2
-2
@@ -10,8 +10,8 @@ int main(int argc, char** argv)
|
||||
ffInitInstance(&instance); //This also applys default configuration to instance.config
|
||||
|
||||
//Configuration
|
||||
ffLoadLogoSet(&instance.config, FASTFETCH_BUILD_DISTRIBUTION_ID);
|
||||
ffStrbufSetS(&instance.config.color, instance.config.logo.color); //Use the primary color of the logo as key color
|
||||
ffLoadLogoSet(&instance, FASTFETCH_BUILD_DISTRIBUTION_ID);
|
||||
ffStrbufSetS(&instance.config.color, instance.config.logo.colors[0]); //Use the primary color of the logo as key color
|
||||
|
||||
//Multithreading --> better performance
|
||||
ffStartCalculationThreads(&instance);
|
||||
|
||||
Reference in New Issue
Block a user