Update README.md

This commit is contained in:
2026-03-13 15:36:39 +01:00
parent 26ff17d288
commit de79d365e1

View File

@@ -34,17 +34,22 @@ this approach eliminates process spawning overhead and temporary file locking, r
## setup ## setup
1. build the project: 1. build the project:
```
$ git clone https://git.narl.io/nvrl/fluxo-rs
$ cd fluxo-rs $ cd fluxo-rs
$ cargo build --release $ cargo build --release
```
2. start the daemon: 2. start the daemon:
$ ./target/release/fluxo-rs daemon & `$ ./target/release/fluxo-rs daemon &`
3. configure waybar (config.jsonc): 3. configure waybar (config.jsonc):
```
"custom/cpu": { "custom/cpu": {
"exec": "/path/to/fluxo-rs cpu", "exec": "/path/to/fluxo-rs cpu",
"return-type": "json" "return-type": "json"
} }
```
## development ## development
@@ -63,7 +68,7 @@ this approach eliminates process spawning overhead and temporary file locking, r
### build and debug ### build and debug
build for release: build for release:
$ cargo build --release `$ cargo build --release`
run with debug logs: run with debug logs:
$ RUST_LOG=debug ./target/release/fluxo-rs daemon `$ RUST_LOG=debug ./target/release/fluxo-rs daemon`