Update setup.sh

This commit is contained in:
edwark43 2023-11-30 10:33:51 -05:00 committed by GitHub
parent aa5c1c616d
commit a4f2b79d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,16 +227,16 @@ clear
# Installing yay # Installing yay
logo "Installing Yay" logo "Installing Yay"
if command -v yay >/dev/null 2>&1; then 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 else
printf "%s%sInstalling yay%s\n" "${BLD}" "${CBL}" "${CNC}" printf "%s%sInstalling Yay.%s" "${BLD}" "${CBL}" "${CNC}"
{ {
cd "$HOME" || exit cd "$HOME" || exit
git clone https://aur.archlinux.org/yay.git git clone https://aur.archlinux.org/yay.git
cd yay || exit cd yay || exit
makepkg -si --noconfirm 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 fi
@ -246,9 +246,9 @@ clear
# Intalling tdrop for scratchpads # Intalling tdrop for scratchpads
logo "Installing Tdrop" logo "Installing Tdrop"
if command -v tdrop >/dev/null 2>&1; then 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 else
printf "\n%s%sInstalling tdrop%s\n" "${BLD}" "${CBL}" "${CNC}" printf "%s%sInstalling Tdrop.%s" "${BLD}" "${CBL}" "${CNC}"
yay -S tdrop-git --noconfirm yay -S tdrop-git --noconfirm
fi fi
@ -258,9 +258,9 @@ clear
# Intalling xqp # Intalling xqp
logo "Installing xqp" logo "Installing xqp"
if command -v xqp >/dev/null 2>&1; then 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 else
printf "\n%s%sInstalling xqp%s\n" "${BLD}" "${CBL}" "${CNC}" printf "%s%sInstalling xqp.%s" "${BLD}" "${CBL}" "${CNC}"
yay -S xqp --noconfirm yay -S xqp --noconfirm
fi fi
@ -270,9 +270,9 @@ clear
# Installing Brave # Installing Brave
logo "Installing Brave" logo "Installing Brave"
if command -v brave >/dev/null 2>&1; then if command -v brave >/dev/null 2>&1; then
printf "\n%s%sBrave is already installed%s\n" "${BLD}" "${CGR}" "${CNC}" printf "%s%sBrave is already installed.%s" "${BLD}" "${CGR}" "${CNC}"
else else
printf "\n%s%sInstalling Brave%s\n" "${BLD}" "${CBL}" "${CNC}" printf "%s%sInstalling Brave.%s" "${BLD}" "${CBL}" "${CNC}"
yay -S brave-bin --noconfirm yay -S brave-bin --noconfirm
fi fi