Hyprland-dotfiles/.install/hook.sh
Stephan Raabe 8a506585b7 Updates
2023-12-25 14:45:11 +01:00

14 lines
426 B
Bash
Executable File

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