diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-02-14 15:02:24 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-02-14 15:02:24 +0900 |
| commit | f9a295fc4f95a6c4b442fbb2b05ea45fbf8c0409 (patch) | |
| tree | 9978e9fc3fbe33100db3dab272b57fe7e7603a8c /config/hypr/scripts | |
| parent | c9e787096336f0436e06c49a30fd2a51823b32a6 (diff) | |
updated some notes and add a branch. Making it easier to implement for ubuntu
Diffstat (limited to 'config/hypr/scripts')
| -rwxr-xr-x | config/hypr/scripts/KooLsDotsUpdate.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/hypr/scripts/KooLsDotsUpdate.sh b/config/hypr/scripts/KooLsDotsUpdate.sh index e6275c10..8baf2b3a 100755 --- a/config/hypr/scripts/KooLsDotsUpdate.sh +++ b/config/hypr/scripts/KooLsDotsUpdate.sh @@ -1,6 +1,8 @@ #!/bin/bash # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # simple bash script to check if KooL Hyprland Dots update is available by comparing local version and github version +# it utilizes curl and also has a default time of 60s if users dont do anything +# will only ran once you logged into your system. It will not continously pinging the KooL github # Local Paths local_dir="$HOME/.config/hypr" @@ -14,8 +16,9 @@ if [ -z "$local_version" ]; then exit 1 fi -# GitHub URL pointing to versioned files -github_url="https://github.com/JaKooLit/Hyprland-Dots/tree/main/config/hypr/" +# KooL's Dots GitHub URL +branch="main" +github_url="https://github.com/JaKooLit/Hyprland-Dots/tree/$branch/config/hypr/" # Fetch the latest version from GitHub directly github_version=$(curl -s $github_url | grep -o 'v[0-9]\+\.[0-9]\+\.[0-9]\+' | sort -V | tail -n 1 | sed 's/v//') |
