aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnser <rostgans@tutamail.com>2026-08-11 13:41:12 +0200
committerAnser <rostgans@tutamail.com>2026-08-11 20:04:50 +0200
commitb350ce83c6dfdb2c386273f189755f2562a9059f (patch)
tree89f11c32ca51e1dbbc415e2694e2c9735a4201b5
parent729746e50ebc8e4eb4c98f7556a241aec111e07d (diff)
added version number for future reference
-rw-r--r--README.md35
-rw-r--r--src/cfetch.c4
2 files changed, 33 insertions, 6 deletions
diff --git a/README.md b/README.md
index ae4e17f..529f666 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,21 @@
-# Idea
+# cfetch
+## Idea
- fastfetch / commiefetch in C
- with emphasis on commiefetch, i want communism stuff but in C !
-# Install
+## roadmap
+- [x] 0.1.0: get some basic system information on the screen
+- [ ] 0.1.1: print out the ascii art with systeminformation
+- [ ] 0.1.2+: some more systeminformation plus print ascii art left of sys information
+
+## Building / Installation
+
+### Dependencies
+- GCC compiler
+- GNU Make
+- Standard C libraries
+
+### make commands
- git clone this project
- `git clone https://codeberg.org/Anser/cfetch.git`
@@ -11,21 +24,31 @@
- `make clean` for local removal
- `sudo/doas make uninstall` for systemwide uninstallation
-## install localy
+### Build localy
+
```bash
git clone https://codeberg.org/Anser/cfetch.git && \
cd cfetch && \
make
```
-## install global
+### Build global
+
```bash
git clone https://codeberg.org/Anser/cfetch.git && \
cd cfetch && \
sudo make install
```
-# Features - not much !
+## Usage
+
+Run executable:
+```
+cfetch
+```
+
+## Features - not much !
+
| Feature | Linux |
|---------|-------|
| OS Info | OK |
@@ -36,6 +59,6 @@ sudo make install
| ascii_art | todo |
-# Reference
+## Reference
- [Commiefetch](https://github.com/amalxloop/commiefetch)
- [Fastfetch](https://github.com/fastfetch-cli/fastfetch)
diff --git a/src/cfetch.c b/src/cfetch.c
index 92157d4..1a71f2c 100644
--- a/src/cfetch.c
+++ b/src/cfetch.c
@@ -7,6 +7,10 @@
* (at your option) any later version.
*/
+#ifndef CFETCH_VERSION
+#define CFETCH_VERSION 0.1.0
+#endif
+
#include "../include/cfetch.h"
#include <unistd.h>