Files
dots-hyprland/install.sh
T
2025-10-02 05:54:35 +08:00

30 lines
1.1 KiB
Bash
Executable File

#!/usr/bin/env bash
cd "$(dirname "$0")"
export base="$(pwd)"
source ./scriptdata/environment-variables.sh
source ./scriptdata/functions.sh
source ./scriptdata/installers.sh
source ./scriptdata/options.sh
prevent_sudo_or_root
set -e
#####################################################################################
# 0. Before we start
source ./scriptdata/install-greeting.sh
#####################################################################################
if [[ "${SKIP_ALLDEPS}" != true ]]; then
printf "${STY_CYAN}[$0]: 1. Install dependencies\n${STY_RESET}"
source ./scriptdata/install-deps.sh
fi
#####################################################################################
if [[ "${SKIP_ALLSETUPS}" != true ]]; then
printf "${STY_CYAN}[$0]: 2. Setup for user groups/services etc\n${STY_RESET}"
source ./scriptdata/install-setups.sh
fi
#####################################################################################
if [[ "${SKIP_ALLFILES}" != true ]]; then
printf "${STY_CYAN}[$0]: 3. Copying + Configuring\n${STY_RESET}"
source ./scriptdata/install-files.sh
fi