Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Function to simulate typing with delay
- type_text() {
- local text="$1"
- local delay="${2:-0.05}" # Default delay is 0.05 seconds
- for (( i=0; i<${#text}; i++ )); do
- echo -n "${text:$i:1}"
- sleep "$delay"
- done
- echo
- }
- # Print ASCII Art in dark blue with typing effect
- type_text "${DARK_BLUE}██╗ ██╗ █████╗ ██╗ ██╗ ██████╗ ██╗ ██╗███╗ ██╗"
- type_text "${DARK_BLUE}██║ ██║██╔══██╗██║ ██║██╔════╝ ██║ ██║████╗ ██║"
- type_text "${DARK_BLUE}██║ ██║███████║██║ ██║██║ ███╗███████║██╔██╗ ██║"
- type_text "${DARK_BLUE}╚██╗ ██╔╝██╔══██║██║ ██║██║ ██║██╔══██║██║╚██╗██║"
- type_text "${DARK_BLUE} ╚████╔╝ ██║ ██║╚██████╔╝╚██████╔╝██║ ██║██║ ╚████║"
- type_text "${DARK_BLUE} ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝"
- type_text "" # Empty line for spacing
- type_text " ███████╗ ██████╗ ███████╗████████╗"
- type_text " ██╔════╝██╔═══██╗██╔════╝╚══██╔══╝"
- type_text " ███████╗██║ ██║█████╗ ██║"
- type_text " ╚════██║██║ ██║██╔══╝ ██║"
- type_text " ███████║╚██████╔╝██║ ██║"
- type_text " ╚══════╝ ╚═════╝ ╚═╝ ╚═╝"
- type_text "" # Empty line for spacing
- type_text "${GREEN}>(setup)${RESET}"
- # Small pause to ensure ASCII art is fully displayed
- sleep 1
- # Script logic goes here
- type_text "\nWelcome to the script! Customize this section as needed.\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement