diff --git a/bash_task_formatter/task_formatter.sh b/bash_task_formatter/task_formatter.sh index 4b9d21e..bd95ade 100644 --- a/bash_task_formatter/task_formatter.sh +++ b/bash_task_formatter/task_formatter.sh @@ -24,23 +24,16 @@ center_text() { # Function to print header with script name print_header() { - local script_name=$1 - local script_link=$2 - clear - echo -e "${COLOR_GREEN}" - center_text " ______ _ ______ _ _ " - center_text "| ___ \ | | | ___| | | | | " - center_text "| |_/ / __ _ ___| |__ | |_ ___ _ __ _ __ ___ __ _| |_| |_ ___ _ __ " - center_text "| ___ \/ _\` / __| '_ \ | _/ _ \| '__| '_ \` _ \ / _\` | __| __/ _ \ '__|" - center_text "| |_/ / (_| \__ \ | | | | || (_) | | | | | | | | (_| | |_| || __/ | " - center_text "\____/ \__,_|___/_| |_| \_| \___/|_| |_| |_| |_|\__,_|\__|\__\___|_| " - center_text " " - echo -e "${COLOR_YELLOW}\n" - center_text "${script_name}" - echo -e "\n" - center_text "${script_link}" - echo -e "${COLOR_RESET}\n" - echo -e "\n\n" + local script_name=$1 + echo -e "${COLOR_GREEN}" + echo " _ _ _ _ ______ " + echo " | | | | | | | ____|" + echo " | |__| | |__| | |__ ___ ___ _ ____ _____ _ __ " + echo " | __ | __ | __/ __|/ _ \ '__\ \ / / _ \ '__|" + echo " | | | | | | | | | (__ __/ | \ V / __/ | " + echo " |_| |_|_| |_|_| \___\___|_| \_/ \___|_| " + echo -e "${COLOR_RESET}\n" + echo -e "${COLOR_GREEN}${script_name}${COLOR_RESET}\n\n\n" }