readme: add build instructions

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

View file

@ -17,4 +17,17 @@ listener {
# Dependencies # Dependencies
- wayland - wayland
- wayland-protocols - wayland-protocols
- hyprlang >= 0.4.0 - 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
```