Final color coding tweak. If also thunar.sh not able to use preset.sh, then I dont know

This commit is contained in:
JaKooLit
2025-02-03 11:42:43 +09:00
parent d215fbd786
commit c1f67feb18
19 changed files with 29 additions and 28 deletions

View File

@@ -30,7 +30,7 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
LOG="Install-Logs/install-$(date +%d-%H%M%S)_thunar.log"
# Thunar
printf "${NOTE} Installing ${BLUE}Thunar${RESET} Packages...\n\n"
printf "${NOTE} Installing ${SKY_BLUE}Thunar${RESET} Packages...\n\n"
for THUNAR in "${thunar[@]}"; do
install_package "$THUNAR" "$LOG"
[ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $THUNAR Package installation failed, Please check the installation logs"; exit 1; }
@@ -40,7 +40,7 @@ printf "\n%.0s" {1..2}
# confirm if wanted to set as default
while true; do
read -n1 -rep "${CAT} set ${MAGENTA}Thunar${RESET} as the default file manager? (y/n): " thundefault
read -n 1 -r -p "${CAT} set ${MAGENTA}Thunar${RESET} as the default file manager? (y/n)" thundefault
case $thundefault in
[Yy])
xdg-mime default thunar.desktop inode/directory