aboutsummaryrefslogtreecommitdiff
path: root/src/cfetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cfetch.c')
-rw-r--r--src/cfetch.c40
1 files changed, 25 insertions, 15 deletions
diff --git a/src/cfetch.c b/src/cfetch.c
index 6edcd87..fd53ae5 100644
--- a/src/cfetch.c
+++ b/src/cfetch.c
@@ -1,10 +1,18 @@
/* cfetch is my try to implement a neofetch/fastfetch/commiefetch clone in C.
* Copyright (C) 2026 Anser <https://codeberg.org/Anser/cfetch>
*
-* 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.
+* cfetch 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.
+*
+* cfetch is distributed in the hope that it will be useful, but
+* WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+* See the GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License along
+* with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef CFETCH_VERSION
@@ -25,22 +33,24 @@ int main(void) {
// 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;
}
+ /* not yet implemented:
+ get_os: Ubuntu <version>
+ get_uptime
+ get_packages
+ get_shell
+ get_resolution
+ get_de
+ get_wm
+ get_terminal
+ get_host: Laptop name? Precision 7680
+ get_gpu
+ get_colours ?
+ */