Made a separate script for fonts installation for easy debugging purpose
This commit is contained in:
@@ -68,16 +68,6 @@ vim
|
||||
yt-dlp
|
||||
)
|
||||
|
||||
fonts=(
|
||||
adobe-source-code-pro-fonts
|
||||
noto-fonts-emoji
|
||||
otf-font-awesome
|
||||
ttf-droid
|
||||
ttf-fira-code
|
||||
ttf-jetbrains-mono
|
||||
ttf-jetbrains-mono-nerd
|
||||
)
|
||||
|
||||
# List of packages to uninstall as it conflicts with swaync or causing swaync to not function properly
|
||||
uninstall=(
|
||||
dunst
|
||||
@@ -101,7 +91,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_hypr-pkgs.log"
|
||||
# Installation of main components
|
||||
printf "\n%s - Installing hyprland packages.... \n" "${NOTE}"
|
||||
|
||||
for PKG1 in "${hypr_package[@]}" "${hypr_package_2[@]}" "${fonts[@]}" "${Extra[@]}"; do
|
||||
for PKG1 in "${hypr_package[@]}" "${hypr_package_2[@]}" "${Extra[@]}"; do
|
||||
install_package "$PKG1" 2>&1 | tee -a "$LOG"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs"
|
||||
|
||||
Reference in New Issue
Block a user