readme: add build instructions

This commit is contained in:
Vaxry 2024-02-17 19:35:25 +00:00
parent 11232c5cf1
commit 107832d48c

View file

@ -18,3 +18,16 @@ listener {
- wayland
- wayland-protocols
- hyprlang >= 0.4.0
# Building & Installation
Building:
```sh
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
cmake --build ./build --config Release --target hypridle -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
```
Installation:
```sh
sudo cmake --install build
```