aboutsummaryrefslogtreecommitdiff
path: root/src/cfetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cfetch.c')
-rw-r--r--src/cfetch.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/cfetch.c b/src/cfetch.c
index e9f473d..6edcd87 100644
--- a/src/cfetch.c
+++ b/src/cfetch.c
@@ -8,7 +8,7 @@
*/
#ifndef CFETCH_VERSION
-#define CFETCH_VERSION 0.1.0
+#define CFETCH_VERSION 0.1.1
#endif
#include "../include/cfetch.h"
@@ -18,29 +18,29 @@
int main(void) {
-
- system_info_t info = { 0 };
- // set default artwork
- int art_logo = 1;
-
- // set systeminformation
- // use // to uncomment or comment
- // get_os: Ubuntu <version>
- // 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;
+ struct system_info_t info = { 0 };
+ //info.debug = 1;
+ // set default artwork
+ info.ascii_art = 0;
+
+ // set systeminformation
+ // use // to uncomment or comment
+ // get_os: Ubuntu <version>
+ // 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_system_info(&info);
+
+ // get_colours ?
+ return 0;
}