From a19b9b8a8df1312d9c94e3b9725c9d74fdf12b53 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 6 Feb 2025 11:58:26 +0900 Subject: [PATCH] new logo :) --- install.sh | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/install.sh b/install.sh index 1ce703d..bbec0a8 100755 --- a/install.sh +++ b/install.sh @@ -1,6 +1,8 @@ #!/bin/bash # https://github.com/JaKooLit +clear + # Set some colors for output messages OK="$(tput setaf 2)[OK]$(tput sgr0)" ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)" @@ -20,12 +22,11 @@ RESET="$(tput sgr0)" # Check if running as root. If root, script will exit if [[ $EUID -eq 0 ]]; then - echo "$ERROR This script should not be executed as root! Exiting......." + echo "${ERROR} This script should ${WARNING}NOT${RESET} be executed as root!! Exiting......." + printf "\n%.0s" {1..2} exit 1 fi -clear - # Check if PulseAudio package is installed if pacman -Qq | grep -qw '^pulseaudio$'; then echo "$ERROR PulseAudio is detected as installed. Uninstall it first or edit install.sh on line 211 (execute_script 'pipewire.sh')." @@ -49,10 +50,13 @@ fi clear -printf "\n%.0s" {1..2} -echo -e "\e[32m | _. |/ _ _ | o _|_ \e[39m" -echo -e "\e[32m \_| (_| o |\ (_) (_) |_ | |_ 2025\e[39m" -printf "\n%.0s" {1..1} +printf "\n%.0s" {1..2} +echo -e "\e[35m + ╦╔═┌─┐┌─┐╦ ╦ ╦┬ ┬┌─┐┬─┐┬ ┌─┐┌┐┌┌┬┐ + ╠╩╗│ ││ │║ ╠═╣└┬┘├─┘├┬┘│ ├─┤│││ ││ 2025 + ╩ ╩└─┘└─┘╩═╝ ╩ ╩ ┴ ┴ ┴└─┴─┘┴ ┴┘└┘─┴┘ +\e[0m" +printf "\n%.0s" {1..1} # Welcome message echo "${SKY_BLUE}Welcome to JaKooLit's Arch-Hyprland Install Script!${RESET}"