blob: 6049d576441873071a5d7a64afc49aec0d2e9746 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# lifetch
the fastest way to fetch your system info!
```bash
~ zig build --release=fast && hyperfine --warmup 10 --runs 1000 'zig-out/bin/lifetch'
Benchmark 1: zig-out/bin/lifetch
Time (mean ± σ): 264.4 µs ± 144.3 µs [User: 253.7 µs, System: 492.1 µs]
Range (min … max): 0.0 µs … 906.6 µs 1000 runs
```
## tested on
- archlinux
more to come!
## prerequisites
- [zig master](https://ziglang.org/)
i recommend installing `zig-nightly-bin` from the aur if you are on archlinux.
## config
generated inside your home directory at
`~/.config/lifetch/config.ini`
## building
```bash
zig build --release=fast
```
## running
```bash
zig build run --release=fast
```
|