From a4f2b79d8d19978c6835719d737259241ae552e1 Mon Sep 17 00:00:00 2001 From: edwark43 <97860398+edwark43@users.noreply.github.com> Date: Thu, 30 Nov 2023 10:33:51 -0500 Subject: [PATCH] Update setup.sh --- setup.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/setup.sh b/setup.sh index 5c886a8..4625d21 100644 --- a/setup.sh +++ b/setup.sh @@ -227,16 +227,16 @@ clear # Installing yay logo "Installing Yay" if command -v yay >/dev/null 2>&1; then - printf "%s%sYay is already installed%s\n" "${BLD}" "${CGR}" "${CNC}" + printf "%s%sYay is already installed.%s" "${BLD}" "${CGR}" "${CNC}" else - printf "%s%sInstalling yay%s\n" "${BLD}" "${CBL}" "${CNC}" + printf "%s%sInstalling Yay.%s" "${BLD}" "${CBL}" "${CNC}" { cd "$HOME" || exit git clone https://aur.archlinux.org/yay.git cd yay || exit makepkg -si --noconfirm } || { - printf "\n%s%sFailed to install Yay.%s\n" "${BLD}" "${CRE}" "${CNC}" + printf "\n%s%sFailed to install Yay.%s" "${BLD}" "${CRE}" "${CNC}" } fi @@ -246,9 +246,9 @@ clear # Intalling tdrop for scratchpads logo "Installing Tdrop" if command -v tdrop >/dev/null 2>&1; then - printf "\n%s%sTdrop is already installed%s\n" "${BLD}" "${CGR}" "${CNC}" + printf "%s%sTdrop is already installed.%s" "${BLD}" "${CGR}" "${CNC}" else - printf "\n%s%sInstalling tdrop%s\n" "${BLD}" "${CBL}" "${CNC}" + printf "%s%sInstalling Tdrop.%s" "${BLD}" "${CBL}" "${CNC}" yay -S tdrop-git --noconfirm fi @@ -258,9 +258,9 @@ clear # Intalling xqp logo "Installing xqp" if command -v xqp >/dev/null 2>&1; then - printf "\n%s%sxqp is already installed%s\n" "${BLD}" "${CGR}" "${CNC}" + printf "%s%sXqp is already installed.%s" "${BLD}" "${CGR}" "${CNC}" else - printf "\n%s%sInstalling xqp%s\n" "${BLD}" "${CBL}" "${CNC}" + printf "%s%sInstalling xqp.%s" "${BLD}" "${CBL}" "${CNC}" yay -S xqp --noconfirm fi @@ -270,10 +270,10 @@ clear # Installing Brave logo "Installing Brave" if command -v brave >/dev/null 2>&1; then - printf "\n%s%sBrave is already installed%s\n" "${BLD}" "${CGR}" "${CNC}" - else - printf "\n%s%sInstalling Brave%s\n" "${BLD}" "${CBL}" "${CNC}" - yay -S brave-bin --noconfirm + printf "%s%sBrave is already installed.%s" "${BLD}" "${CGR}" "${CNC}" + else + printf "%s%sInstalling Brave.%s" "${BLD}" "${CBL}" "${CNC}" + yay -S brave-bin --noconfirm fi sleep 1 @@ -313,4 +313,4 @@ logo "Changing default shell to zsh" else printf "%s%sYour shell is already zsh\nGood bye! installation finished, now reboot%s\n" "${BLD}" "${CGR}" "${CNC}" fi -zsh \ No newline at end of file +zsh