41 lines
643 B
Bash
Executable File
41 lines
643 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
HELPERS=(
|
|
colors animation banner package switchcase
|
|
dotfiles clone themes nvchad utility
|
|
stat signal screen cursor finish
|
|
)
|
|
|
|
for HELPER in ${HELPERS[@]}; do
|
|
source $(pwd)/helper/${HELPER}.sh
|
|
done
|
|
|
|
function main() {
|
|
|
|
trap 'handleInterruptByUser "Interrupt by User"' 2
|
|
|
|
clear
|
|
banner
|
|
|
|
packages
|
|
switchCase "Install" "Packages" installPackages
|
|
|
|
dotFiles
|
|
backupDotFiles
|
|
switchCase "Install" "Dotfiles" installDotFiles
|
|
|
|
repositories
|
|
switchCase "Clone" "Repositories" cloneRepository
|
|
|
|
zshTheme
|
|
switchCase "Install" "ZSH Themes" installZshTheme
|
|
|
|
NvChad
|
|
utility
|
|
|
|
mainAlert
|
|
|
|
}
|
|
|
|
screenSize main
|