diff options
| author | installer <installer@gmail.com> | 2025-02-16 17:28:09 +0900 |
|---|---|---|
| committer | installer <installer@gmail.com> | 2025-02-16 17:28:09 +0900 |
| commit | 7aacde08e392f0df2bf8158752a2640256c1945a (patch) | |
| tree | 1ad1751211d5852bea8d86a2d93e7b7e7124fc74 | |
| parent | 9e488fd9efd5f9810adaf380474b7d1787625c82 (diff) | |
add notification to relogin after update using notification
| -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 d0d454e6..269efadb 100755 --- a/config/hypr/scripts/KooLsDotsUpdate.sh +++ b/config/hypr/scripts/KooLsDotsUpdate.sh @@ -48,8 +48,10 @@ else cd $KooL_Dots_DIR && git stash && git pull && - ./copy.sh + ./copy.sh && + notify-send -u critical -i $iDIR 'Update Completed:' 'Kindly Log out and relogin to take effect' " + else if ! command -v kitty &> /dev/null; then notify-send -i $iDIR "Need Kitty:" "Kitty terminal not found. Please install Kitty terminal." @@ -59,7 +61,8 @@ else git clone --depth=1 https://github.com/JaKooLit/Hyprland-Dots.git $KooL_Dots_DIR && cd $KooL_Dots_DIR && chmod +x copy.sh && - ./copy.sh + ./copy.sh && + notify-send -u critical -i $iDIR 'Update Completed:' 'Kindly Log out and relogin to take effect' " fi ;; |
