aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnser <rostgans@tutamail.com>2026-08-17 12:07:07 +0200
committerAnser <rostgans@tutamail.com>2026-08-17 12:07:07 +0200
commit86401d764e55dfa7d56e0d2f595f8c0519c41da9 (patch)
treec005a4f2242ae721e44b47eef46641e869a95d96
parentab497e439d9c8c41d7f43998a7b782fe4720d856 (diff)
updated the README.md
-rw-r--r--README.md9
-rw-r--r--src/ascii.c1
-rw-r--r--src/cfetch.c3
3 files changed, 10 insertions, 3 deletions
diff --git a/README.md b/README.md
index 15b6402..03136a6 100644
--- a/README.md
+++ b/README.md
@@ -62,8 +62,17 @@ sudo make uninstall
Run executable:
```
cfetch
+cfetch -v --version // prints the version of cfetch
+cfetch -h --help // prints the helper menu
```
+## Configuration
+
+at the current time all configuration is done via the `cfetch.c` file.
+- change ascii art: manipulate `info.ascii_art`
+- change infomation: comment the `get_<name>` functions.
+ - unconveniently one has to comment out the corrosponding printf statemant in `ascii.c` `print_system_info` function
+
## Features - not much !
| Feature | Linux |
diff --git a/src/ascii.c b/src/ascii.c
index 5fc81be..b47b400 100644
--- a/src/ascii.c
+++ b/src/ascii.c
@@ -83,7 +83,6 @@ void print_system_info(struct system_info_t *info)
printf("Kernel: %s\n", info->kernel);
printf("CPU: %s\n", info->cpu);
printf("%s\n", info->memory);
- //printf(logo)
print_ascii_art(info);
}
diff --git a/src/cfetch.c b/src/cfetch.c
index 5b41121..eef3bae 100644
--- a/src/cfetch.c
+++ b/src/cfetch.c
@@ -42,17 +42,16 @@ int main(int argc, char **argv)
// set systeminformation
// use // to uncomment or comment
+ get_os_release(&info);
get_kernel(&info);
get_cpu(&info);
get_memory(&info);
- get_os_release(&info);
print_system_info(&info);
return 0;
}
/* not yet implemented:
- get_os: Ubuntu <version>
get_uptime
get_packages
get_shell