mirror of
https://github.com/arthur-pbty/optifetch.git
synced 2026-08-01 20:29:33 +02:00
fix make & mise au propre du projet
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user