From 18ef26e1df4bd03db26f6e3509363b5d9b10019b Mon Sep 17 00:00:00 2001 From: pika Date: Mon, 19 May 2025 18:34:31 +0200 Subject: [PATCH] testing more.. --- hyprlock.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/hyprlock.sh b/hyprlock.sh index 8cd2289..8a049d4 100644 --- a/hyprlock.sh +++ b/hyprlock.sh @@ -102,7 +102,7 @@ getDependencies() { done } -buildGraphics() { +buildGraphicsAndUtils() { echo_pkg build run cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build run cmake --build ./build --config Release --target all -j"$cores" @@ -122,7 +122,7 @@ cloneAndBuildGraphics() { git clone --depth=1 https://github.com/hyprwm/hyprgraphics.git && cd hyprgraphics - if buildGraphics; then + if buildGraphicsAndUtils; then echo_pkg install $_sudo cmake --install build else @@ -131,12 +131,6 @@ cloneAndBuildGraphics() { fi } -buildUtils() { - echo_pkg build "Building hyprutils" - run cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build - run cmake --build ./build --config Release --target all -j"$cores" -} - cloneAndBuildUtils() { PACKAGE=hyprutils @@ -155,7 +149,7 @@ cloneAndBuildUtils() { git clone --depth=1 https://github.com/hyprwm/hyprutils.git && cd hyprutils - if buildUtils; then + if buildGraphicsAndUtils; then echo_pkg install $_sudo cmake --install build else