36 lines
656 B
Markdown
36 lines
656 B
Markdown
# Lister
|
|
|
|
*Simple definitions viewer*
|
|
|
|
## Usage
|
|
* Clone repository
|
|
```
|
|
git clone https://git.medvidek77.tech/Medvidek77/lister.git && cd lister/
|
|
```
|
|
|
|
* Compile from source
|
|
```
|
|
zig build
|
|
```
|
|
|
|
* For build with zig 0.13.x or older(untested) you can apply patch for build.zig.zon
|
|
```
|
|
patch build.zig.zon < zig-0.13.0-build.patch
|
|
```
|
|
|
|
* (Optional) Add binary file to /usr/bin as root
|
|
```
|
|
cp zig-out/bin/lister /usr/bin
|
|
```
|
|
|
|
* Rename data.json.example to data.json and copy to ~/.config/lister
|
|
```
|
|
mkdir -p ~/.config/lister/ && cp src/data.json.example ~/.config/lister/data.json
|
|
```
|
|
|
|
* Edit or create new one data.json in ~./config/lister
|
|
|
|
* Run
|
|
```
|
|
lister
|
|
```
|