-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.sh
executable file
·31 lines (28 loc) · 1.03 KB
/
bootstrap.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# Bootstrap a new distro installation with preferred configs
# Define vars
this_dir=$(dirname "$(realpath "${BASH_SOURCE[0]}")")
# Bootstrap bootstrap_steps
bootstrap_steps=(
"packages" # Update system and install packages
"codecs" # Install multimedia codecs
"dirs" # Create directories
"nodejs" # Install nvm, nodejs, npm
"nerd-fonts" # Install nerd fonts
#"colorls" # Install colorls
"icons" # Install icons
"tmux" # Install tmux plugin manager
"vim" # Customize vim
"autostart" # Set autostart files
"vscode" # Install vscode
"flatpak" # Configure flatpak and install flatpak apps
"desktop" # Run desktop environment specific configs
"alacritty" # Get catppuccin theme for alacritty
"zsh" # Add catppuccin theme for zsh syntax highlighting
"oh-my-zsh" # Install Oh-My-Zsh and change shell to zsh
"dotfiles" # Clone personal dotfiles repo and make links
)
# Run step subscripts
for step in "${bootstrap_steps[@]}"; do
/bin/bash "$this_dir"/steps/"$step".sh
done