forked from Shinonome/dots-hyprland
25 lines
1.0 KiB
Bash
Executable File
25 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
cd "$(dirname "$0")"
|
|
export base="$(pwd)"
|
|
source ./scriptdata/environment-variables
|
|
source ./scriptdata/functions
|
|
source ./scriptdata/installers
|
|
source ./scriptdata/options
|
|
|
|
prevent_sudo_or_root
|
|
set -e
|
|
|
|
#####################################################################################
|
|
# 0. Before we start
|
|
source ./scriptdata/install-greeting ;;
|
|
#####################################################################################
|
|
printf "${COLOR_CYAN}[$0]: 1. Install dependencies\n${COLOR_RESET}"
|
|
# TODO: if `--via-nix` is specified, source `install-deps-nix` instead.
|
|
source ./scriptdata/install-deps-arch
|
|
#####################################################################################
|
|
printf "${COLOR_CYAN}[$0]: 2. Setup for user groups/services etc\n${COLOR_RESET}"
|
|
source ./scriptdata/install-setups
|
|
#####################################################################################
|
|
printf "${COLOR_CYAN}[$0]: 3. Copying + Configuring\n${COLOR_RESET}"
|
|
source ./scriptdata/install-files
|