aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/KooLsDotsUpdate.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-01-21 22:40:49 -0500
committerDon Williams <don.e.williams@gmail.com>2026-01-21 22:40:49 -0500
commitd88e6fc3b3460ca643ce66398696262fc34a1b97 (patch)
treecc21eff76221d4626dd6a2094b5258b2c1018d2c /config/hypr/scripts/KooLsDotsUpdate.sh
parent35d04935d154ac2fd685ca3cb57ddfda255db330 (diff)
The update scripts were missing `-e` after kitty
On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: ../hypr/scripts/Distro_update.sh modified: ../hypr/scripts/KooLsDotsUpdate.sh
Diffstat (limited to 'config/hypr/scripts/KooLsDotsUpdate.sh')
-rwxr-xr-xconfig/hypr/scripts/KooLsDotsUpdate.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/hypr/scripts/KooLsDotsUpdate.sh b/config/hypr/scripts/KooLsDotsUpdate.sh
index a49f5430..006d66ed 100755
--- a/config/hypr/scripts/KooLsDotsUpdate.sh
+++ b/config/hypr/scripts/KooLsDotsUpdate.sh
@@ -17,12 +17,18 @@ fi
# GitHub URL - KooL's dots
branch="main"
github_url="https://github.com/JaKooLit/Hyprland-Dots/tree/$branch/config/hypr/"
+# Check for required tools (curl)
+if ! command -v curl &> /dev/null; then
+ notify-send -i "$iDIR/error.png" "Need curl:" "curl not found. Please install curl."
+ exit 1
+fi
# Fetch the version from GitHub URL - KooL's dots
-github_version=$(curl -s "$github_url" | grep -o 'v[0-9]\+\.[0-9]\+\.[0-9]\+' | sort -V | tail -n 1 | sed 's/v//')
+github_version=$(curl -fsSL -A "Mozilla/5.0" "$github_url" | grep -o 'v[0-9]\+\.[0-9]\+\.[0-9]\+' | sort -V | tail -n 1 | sed 's/v//')
# Cant find GitHub URL - KooL's dots version
if [ -z "$github_version" ]; then
+ notify-send -i "$iDIR/error.png" 'KooL Hyprland:' "Unable to determine GitHub version."
exit 1
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage