mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
updated cursor.sh
This commit is contained in:
parent
ff46cbeb8e
commit
cdc6e19818
@ -7,6 +7,9 @@ libzip-dev
|
|||||||
librsvg2-dev
|
librsvg2-dev
|
||||||
)
|
)
|
||||||
|
|
||||||
|
#specific branch or release
|
||||||
|
cursor_tag="v0.1.8"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
# Determine the directory where the script is located
|
# Determine the directory where the script is located
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -40,7 +43,7 @@ fi
|
|||||||
|
|
||||||
# Clone and build
|
# Clone and build
|
||||||
printf "${NOTE} Installing hyprcursor...\n"
|
printf "${NOTE} Installing hyprcursor...\n"
|
||||||
if git clone --recursive -b v0.1.8 https://github.com/hyprwm/hyprcursor.git; then
|
if git clone --recursive -b $cursor_tag https://github.com/hyprwm/hyprcursor.git; then
|
||||||
cd hyprcursor || exit 1
|
cd hyprcursor || exit 1
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||||
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user