hyprland-dotfiles/.install/post-hook.sh
2024-01-29 15:53:21 +00:00

16 lines
531 B
Bash
Executable File

# ------------------------------------------------------
# Copy dotfiles
# ------------------------------------------------------
if [ -f ~/dotfiles-versions/post-hook.sh ]; then
echo -e "${GREEN}"
figlet "post-Hook"
echo -e "${NONE}"
echo ":: The script has detected a post-hook.sh script."
if gum confirm "Do you want to run the script now?"; then
source ~/dotfiles-versions/post-hook.sh
echo ":: post-hook.sh executed!"
else
echo ":: Execution of post-hook.sh skipped."
fi
fi