Configuration tweaks

This commit is contained in:
2024-03-21 14:16:59 +00:00
parent ba35c8041b
commit 0cfe94f5df
2 changed files with 2 additions and 2 deletions

30
MacOS/install.sh Executable file
View File

@@ -0,0 +1,30 @@
#! /bin/zsh
source ./scripts/color.sh
# Copy configs
echo -e "${GREEN}[+] Configuring system...${ENDCOLOR}"
cp -rf ./homeConfigs/.* ~
echo "Run MacOS config script? This will overwrite the system dock."
read runConfig
if [[ $runConfig == 'y' ]]; then
echo "Running config.sh..."
bash ./config.sh
fi
# Install Oh-My-ZSH
echo -e "${GREEN}[+] Installing Oh-My-ZSH...${ENDCOLOR}"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# Install fonts
echo -e "${GREEN}[+] Installing fonts...${ENDCOLOR}"
cp ./fonts/* ~/Library/Fonts
# Update MacOS
echo -e "${GREEN}[+] Updating MacOS...${ENDCOLOR}"
echo -e "${GREEN}[I] THE DEVICE WILL RESTART IF NECESSARY.${ENDCOLOR}"
sudo softwareupdate -iaR
echo -e "${GREEN}${BOLD}[i] All done.${ENDCOLOR}"