mirror of
https://github.com/hyprwm/hypridle.git
synced 2024-11-16 23:25:58 +01:00
readme: add build instructions
This commit is contained in:
parent
11232c5cf1
commit
107832d48c
1 changed files with 14 additions and 1 deletions
13
README.md
13
README.md
|
@ -18,3 +18,16 @@ listener {
|
||||||
- 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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue