diff options
| author | Anser <rostgans@tutamail.com> | 2026-08-14 14:57:32 +0200 |
|---|---|---|
| committer | Anser <rostgans@tutamail.com> | 2026-08-14 15:01:09 +0200 |
| commit | 06c44609bccebbeb3fa48050cbe2d91b0754b8a8 (patch) | |
| tree | 85923c113898f33d358619bd07eedfde78c1925f /src/cfetch.c | |
| parent | 537230def11fddb3a63f8b4d0bf9b5d64b96e6d0 (diff) | |
Added the GPLv3 in every file. Removed unimplemented functions out of cfetch.c
Diffstat (limited to 'src/cfetch.c')
| -rw-r--r-- | src/cfetch.c | 40 |
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 ? + */ |
