fix make & mise au propre du projet

This commit is contained in:
Puechberty Arthur
2026-06-26 21:54:33 +02:00
parent 9e02e75a98
commit 290da5ed46
12 changed files with 467 additions and 234 deletions
+5 -3
View File
@@ -1,9 +1,11 @@
#include "optifetch.h"
void generate_default_config(const char* path) {
void generate_default_config(const char *path)
{
FILE *f = fopen(path, "w");
if (!f) return;
if (!f)
return;
fprintf(f, "{reset}{align:L}{distro_color}{bold}{user}{reset}@{distro_color}{bold}{host}{reset}\n");
fprintf(f, "{align:L}─────────────────────────────\n");
fprintf(f, " {distro_color}{logo} {align:L}{fg:157,211,154}OS{reset}: {align:V}{os}\n");