diff --git a/install-scripts/hyprcursor.sh b/install-scripts/hyprcursor.sh index 2e7da5f..b011b15 100755 --- a/install-scripts/hyprcursor.sh +++ b/install-scripts/hyprcursor.sh @@ -7,6 +7,9 @@ libzip-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! ## # Determine the directory where the script is located SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -40,7 +43,7 @@ fi # Clone and build 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 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`