2021-02-27 18:30:05 +01:00
|
|
|
#include "fastfetch.h"
|
|
|
|
|
|
|
|
|
|
int main(int argc, char** argv)
|
|
|
|
|
{
|
|
|
|
|
FFinstance instance;
|
|
|
|
|
ffInitState(&instance.state);
|
2021-03-03 21:03:12 +01:00
|
|
|
ffDefaultConfig(&instance.config);
|
2021-02-27 18:30:05 +01:00
|
|
|
|
2021-02-27 19:22:28 +01:00
|
|
|
//Configuration
|
2021-03-03 21:03:12 +01:00
|
|
|
|
2021-02-27 18:30:05 +01:00
|
|
|
ffLoadLogoSet(&instance.config, "arch");
|
2021-02-27 19:22:28 +01:00
|
|
|
strcpy(instance.config.color, instance.config.logo.color); //Use the primary color of the logo as key color
|
2021-02-27 18:30:05 +01:00
|
|
|
|
|
|
|
|
//Printing
|
|
|
|
|
|
|
|
|
|
ffPrintTitle(&instance);
|
|
|
|
|
ffPrintSeperator(&instance);
|
|
|
|
|
ffPrintOS(&instance);
|
|
|
|
|
ffPrintHost(&instance);
|
|
|
|
|
ffPrintKernel(&instance);
|
|
|
|
|
ffPrintUptime(&instance);
|
|
|
|
|
ffPrintPackages(&instance);
|
|
|
|
|
ffPrintShell(&instance);
|
|
|
|
|
ffPrintResolution(&instance);
|
|
|
|
|
ffPrintDesktopEnvironment(&instance);
|
2021-03-05 21:38:35 +01:00
|
|
|
ffPrintWM(&instance);
|
2021-02-27 18:30:05 +01:00
|
|
|
ffPrintTheme(&instance);
|
|
|
|
|
ffPrintIcons(&instance);
|
|
|
|
|
ffPrintFont(&instance);
|
|
|
|
|
ffPrintTerminal(&instance);
|
2021-03-11 17:21:18 +01:00
|
|
|
ffPrintTerminalFont(&instance);
|
2021-02-27 18:30:05 +01:00
|
|
|
ffPrintCPU(&instance);
|
|
|
|
|
ffPrintGPU(&instance);
|
|
|
|
|
ffPrintMemory(&instance);
|
|
|
|
|
ffPrintDisk(&instance);
|
|
|
|
|
ffPrintBattery(&instance);
|
|
|
|
|
ffPrintLocale(&instance);
|
|
|
|
|
ffPrintBreak(&instance);
|
|
|
|
|
ffPrintColors(&instance);
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|