Closed ad-oliviero closed 1 year ago
This splits the code in two main files (and a header):
fetch.c
uwufetch.c
libfetch
fetch.h
This will make building fetch programs (#200) based on uwufetch (now libfetch) a lot easier.
Also suggestions for the name of the library are welcome.
This splits the code in two main files (and a header):
fetch.c
has all the algorithms to get system info (this is the backend)uwufetch.c
is the frontend, so it gets the info fromlibfetch
and prints it in the terminal (this is the frontend)fetch.h
contains all the necessary code to use fetch.c as a library.This will make building fetch programs (#200) based on uwufetch (now
libfetch
) a lot easier.Also suggestions for the name of the library are welcome.