/* cfetch is my try to implement a neofetch/fastfetch/commiefetch clone in C. * Copyright (C) 2026 Anser * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. */ #include "modules/os/os.h" #include "modules/memory/memory.h" #include "modules/cpu/cpu.h" #include "logo/logo.h" #include "modules/utils/utils.h" #include #include #include #include int main(void) { os(); memory(); cpu(); print_logo(); struct winsize w; ioctl(STDOUT_FILENO, TIOCGWINSZ, &w); printf("lines %d\n", w.ws_row); printf("columns %d\n", w.ws_col); /* char *s = concat("derp", "herp"); printf("%s\n", s); free(s); */ return 0; }