From 7aacde08e392f0df2bf8158752a2640256c1945a Mon Sep 17 00:00:00 2001 From: installer Date: Sun, 16 Feb 2025 17:28:09 +0900 Subject: add notification to relogin after update using notification --- config/hypr/scripts/KooLsDotsUpdate.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'config/hypr/scripts') 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 ;; -- cgit v1.2.3