log_section() {
  grey="\033[0;37m"
  blue="\033[0;34m"
  reset="\033[0m"

  printf '%b\n' "${grey}"
  echo
  printf '%b\n' "=== ${blue}$1${grey}"
  printf '%b\n' "==============================================================${reset}"
}

# ### Install pacman packages before everything
log_section script/install_pacman_packages
# with_time script/install_pacman_packages
# #
# ### Install AUR packages before everything
# log_section script/install_aur_packages
# with_time script/install_aur_packages

# ### Run special installers first, so rest can depend on them
# find . -executable -name priority_install.sh | while read -r installer; do log_section "${installer}"; with_time sh -c "${installer}"; done

# ### Run rest of installers
# find . -executable -name install.sh | while read -r installer; do log_section "${installer}"; with_time sh -c "${installer}"; done

# # link everything
# log_section .dotbot/install
# with_time sudo .dotbot/install
# echo
# echo
