From 9bfaf4dd363429757754d9934ca38fad4ef7dc0a Mon Sep 17 00:00:00 2001 From: Anser Date: Thu, 13 Aug 2026 15:28:47 +0200 Subject: changed get_os to get_kernel, it now uses the system_info_t struct to store and display the kernel information. Same with get_cpu. --- src/cfetch.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src/cfetch.c') diff --git a/src/cfetch.c b/src/cfetch.c index caabbc9..66d115d 100644 --- a/src/cfetch.c +++ b/src/cfetch.c @@ -25,10 +25,22 @@ int main(void) { // set systeminformation // use // to uncomment or comment - get_os(&info); - get_memory(&info); + // get_os: Ubuntu + // get_host: Laptop name? Precision 7680 + get_kernel(&info); + // get_uptime + // get_packages + // get_shell + // get_resolution + // get_de + // get_wm + // get_terminal get_cpu(&info); + //get_gpu + get_memory(&info); + print_ascii_art(&info, art_logo); + // get_colours ? return 0; } -- cgit v1.2.3