From 107832d48c3962cc579b426a7b803c62f39166a1 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 17 Feb 2024 19:35:25 +0000 Subject: [PATCH] readme: add build instructions --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 +```