From 46a809696f9c8713b7d6d36ff2ef3ed3ad44af2a Mon Sep 17 00:00:00 2001 From: Sho Ishida Date: Mon, 5 Aug 2024 21:15:04 +0900 Subject: [PATCH] split installation into two parts --- install.sh | 30 +++++------------------------- post.sh | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 25 deletions(-) create mode 100644 post.sh diff --git a/install.sh b/install.sh index 7ef5af2..4bb538c 100755 --- a/install.sh +++ b/install.sh @@ -43,6 +43,9 @@ brew install zoxide echo "Installing spicetify..." brew install spicetify +echo "Installing eza..." +brew install eza + # Flatpaks echo "Installing ferdium..." flatpak install ferdium @@ -53,28 +56,5 @@ flatpak install obsidian echo "Installing spotify..." flatpak install spotify -# Change default shell to zsh -echo "Changing shell to zsh..." -chsh -s $(which zsh) - -# Set up Git -echo "Setting up git and GitHub..." -git config --global user.email "isshi0417@gmail.com" -gh auth login - -# Symlink dotfiles -echo "Symlinking dotfiles..." -cd dotfiles -stow */ - -# Configure spicetify -spicetify backup apply -cd -cd .config/spicetify/Themes/Dribbblish -spicetify config current_theme Dribbblish color_scheme base -spicetify config inject_css 1 replace_colors 1 overwrite_assets 1 inject_theme_js 1 -spicetify apply - -# Set up onedrive -onedrive -onedrive --synchronize +# Restart +systemctl restart diff --git a/post.sh b/post.sh new file mode 100644 index 0000000..7d2f151 --- /dev/null +++ b/post.sh @@ -0,0 +1,24 @@ +#!/usr/bin/sh + +# Change default shell to zsh +echo "Changing shell to zsh..." +chsh -s $(which zsh) + +# Set up Git +echo "Setting up git and GitHub..." +git config --global user.email "isshi0417@gmail.com" +gh auth login + +# Symlink dotfiles +echo "Symlinking dotfiles..." +cd dotfiles +stow */ + +# Configure spicetify +spicetify backup apply + +# Set up onedrive +brew services start onedrive +onedrive +onedrive --synchronize +