diff --git a/README.md b/README.md index c6ab166..4d18a85 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,17 @@ listener { # Dependencies - wayland - wayland-protocols - - hyprlang >= 0.4.0 \ No newline at end of file + - 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 +```