new logo :)

This commit is contained in:
JaKooLit
2025-02-06 11:58:26 +09:00
parent 5f20c04b05
commit a19b9b8a8d

View File

@@ -1,6 +1,8 @@
#!/bin/bash #!/bin/bash
# https://github.com/JaKooLit # https://github.com/JaKooLit
clear
# Set some colors for output messages # Set some colors for output messages
OK="$(tput setaf 2)[OK]$(tput sgr0)" OK="$(tput setaf 2)[OK]$(tput sgr0)"
ERROR="$(tput setaf 1)[ERROR]$(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 # Check if running as root. If root, script will exit
if [[ $EUID -eq 0 ]]; then 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 exit 1
fi fi
clear
# Check if PulseAudio package is installed # Check if PulseAudio package is installed
if pacman -Qq | grep -qw '^pulseaudio$'; then 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')." echo "$ERROR PulseAudio is detected as installed. Uninstall it first or edit install.sh on line 211 (execute_script 'pipewire.sh')."
@@ -50,8 +51,11 @@ fi
clear clear
printf "\n%.0s" {1..2} printf "\n%.0s" {1..2}
echo -e "\e[32m | _. |/ _ _ | o _|_ \e[39m" echo -e "\e[35m
echo -e "\e[32m \_| (_| o |\ (_) (_) |_ | |_ 2025\e[39m" ╦╔═┌─┐┌─┐╦ ╦ ╦┬ ┬┌─┐┬─┐┬ ┌─┐┌┐┌┌┬┐
╠╩╗│ ││ │║ ╠═╣└┬┘├─┘├┬┘│ ├─┤│││ ││ 2025
╩ ╩└─┘└─┘╩═╝ ╩ ╩ ┴ ┴ ┴└─┴─┘┴ ┴┘└┘─┴┘
\e[0m"
printf "\n%.0s" {1..1} printf "\n%.0s" {1..1}
# Welcome message # Welcome message