Pseudo initial
This commit is contained in:
parent
7e204a3d9f
commit
cdfac4d089
13 changed files with 1312 additions and 24 deletions
|
@ -1,17 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
sudo xcode-select --install
|
||||
|
||||
echo "Press [ENTER] when install has finished"
|
||||
read
|
||||
|
||||
# install homebrew if it's missing
|
||||
if ! command -v brew >/dev/null 2>&1; then
|
||||
echo "Installing homebrew"
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.Brewfile" ]; then
|
||||
echo "Updating homebrew bundle"
|
||||
brew bundle --global
|
||||
fi
|
11
.dotfiles/bootstrap/00_xcode.sh
Executable file
11
.dotfiles/bootstrap/00_xcode.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check if Xcode CLI tools are installed. Install if not.
|
||||
if [ "$(xcode-select --version)" == "" ]; then
|
||||
sudo xcode-select --install
|
||||
|
||||
sudo xcodebuild -license accept
|
||||
|
||||
echo "Press [ENTER] when install has finished"
|
||||
read
|
||||
fi
|
12
.dotfiles/bootstrap/10_brew.sh
Executable file
12
.dotfiles/bootstrap/10_brew.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# install homebrew if it's missing
|
||||
if ! command -v brew >/dev/null 2>&1; then
|
||||
echo "Installing homebrew"
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.Brewfile" ]; then
|
||||
echo "Updating homebrew bundle"
|
||||
brew bundle --global
|
||||
fi
|
0
.dotfiles/bootstrap/01_iterm.sh → .dotfiles/bootstrap/10_iterm.sh
Normal file → Executable file
0
.dotfiles/bootstrap/01_iterm.sh → .dotfiles/bootstrap/10_iterm.sh
Normal file → Executable file
10
.dotfiles/bootstrap/10_system_settings.sh → .dotfiles/bootstrap/50_system_settings.sh
Normal file → Executable file
10
.dotfiles/bootstrap/10_system_settings.sh → .dotfiles/bootstrap/50_system_settings.sh
Normal file → Executable file
|
@ -8,11 +8,11 @@ defaults write com.apple.dock "autohide" -bool "true" #&& killall Dock
|
|||
defaults write com.apple.dock "autohide-delay" -float "0" #&& killall Dock
|
||||
|
||||
# Show only active applications
|
||||
defaults write com.apple.dock "static-only" -bool "true" #&& killall Dock
|
||||
defaults write com.apple.dock "static-only" -bool "false" #&& killall Dock
|
||||
|
||||
# <Workspaces>
|
||||
# Disable auto-switch
|
||||
defaults write com.apple.dock workspaces-auto-swoosh -bool NO #&& killall Dock
|
||||
# Enable auto-switch to most recent app
|
||||
defaults write com.apple.dock workspaces-auto-swoosh -bool YES #&& killall Dock
|
||||
|
||||
# Save in JPEG
|
||||
defaults write com.apple.screencapture "type" -string "jpg"
|
||||
|
@ -64,7 +64,7 @@ defaults write -g com.apple.swipescrolldirection -bool NO #&& killall SystemUISe
|
|||
|
||||
# <Keyboard>
|
||||
# Repeat characters on key hold
|
||||
defaults write NSGlobalDomain "ApplePressAndHoldEnabled" -bool "false"
|
||||
defaults write NSGlobalDomain "ApplePressAndHoldEnabled" -bool "false"
|
||||
|
||||
# <Time machine>
|
||||
# Don't offer disks for backup
|
||||
|
@ -78,4 +78,4 @@ defaults write com.apple.Music "userWantsPlaybackNotifications" -bool "false" #&
|
|||
killall Dock 2> /dev/null
|
||||
killall SystemUIServer 2> /dev/null
|
||||
killall Finder 2> /dev/null
|
||||
killall Music 2> /dev/null
|
||||
killall Music 2> /dev/null
|
0
.dotfiles/bootstrap/99_brew_install.sh → .dotfiles/bootstrap/80_brew_install.sh
Normal file → Executable file
0
.dotfiles/bootstrap/99_brew_install.sh → .dotfiles/bootstrap/80_brew_install.sh
Normal file → Executable file
8
.dotfiles/bootstrap/81_pipx.sh
Executable file
8
.dotfiles/bootstrap/81_pipx.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
pipx ensurepath
|
||||
|
||||
pipx install yt-dlp
|
||||
pipx install lektor
|
||||
|
||||
pipx reinstall-all
|
7
.dotfiles/bootstrap/85_nvim.sh
Executable file
7
.dotfiles/bootstrap/85_nvim.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Install nvchad
|
||||
if [ ! -d "$HOME/.config/nvim" ]; then
|
||||
echo "Installing nvchad"
|
||||
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
|
||||
fi
|
7
.dotfiles/bootstrap/85_oh_my_zsh.sh
Normal file
7
.dotfiles/bootstrap/85_oh_my_zsh.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Install oh-my-zsh if the folder does not exist
|
||||
if [ ! -d "$HOME/.oh-my-zsh" ]; then
|
||||
echo "Installing oh-my-zsh"
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
fi
|
7
.dotfiles/bootstrap/90_appstore.sh
Executable file
7
.dotfiles/bootstrap/90_appstore.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Handled by brewfile
|
||||
|
||||
# mas install 1475387142 # Tailscale
|
||||
# mas install 497799835 # Xcode
|
||||
# mas install 1289583905 # Pixelmator Pro
|
Loading…
Add table
Add a link
Reference in a new issue