mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
30 lines
1.1 KiB
Bash
Executable File
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
|