mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
Update hyprlock.sh
This commit is contained in:
parent
8a1d15803a
commit
e10bc8effc
@ -45,8 +45,8 @@ printf "${NOTE} Installing hyprlock...\n"
|
|||||||
if git clone --recursive -b $lock_tag https://github.com/hyprwm/hyprlock.git; then
|
if git clone --recursive -b $lock_tag https://github.com/hyprwm/hyprlock.git; then
|
||||||
cd hyprlock || exit 1
|
cd hyprlock || exit 1
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
|
||||||
cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
|
||||||
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
if sudo cmake --install build 2>&1 | tee -a "$MLOG" ; then
|
||||||
printf "${OK} hyprlock installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
printf "${OK} hyprlock installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Installation failed for hyprlock." 2>&1 | tee -a "$MLOG"
|
echo -e "${ERROR} Installation failed for hyprlock." 2>&1 | tee -a "$MLOG"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user