1
0
mirror of https://github.com/danbee/mac-setup synced 2025-03-04 08:39:10 +00:00

Compare commits

...

8 Commits

Author SHA1 Message Date
e6d89c7c57 MacVim also installs regular vim 2021-02-11 21:46:12 -05:00
063a177de2 Source Code Nerd Font has been renamed 2021-02-11 21:45:29 -05:00
c3fc67f618 🙌🏼 2021-02-11 21:21:57 -05:00
5a0469331c Brewfile handles App Store stuff now 🎉 2021-02-11 21:18:24 -05:00
b97b9f41be Add bat for FZF syntax highlighting 2021-02-11 21:17:43 -05:00
4b170bf4ed Remove PhantomJS 2021-02-11 21:17:34 -05:00
33164f51c6 Switch to Yabai 2021-02-11 21:17:01 -05:00
be05d23bb9 Homebrew install has changed 2021-02-11 21:09:46 -05:00
5 changed files with 21 additions and 40 deletions

View File

@ -2,7 +2,7 @@ tap "thoughtbot/formulae"
tap "heroku/brew" tap "heroku/brew"
tap "koekeishiya/formulae" tap "koekeishiya/formulae"
brew "asdf" brew "asdf"
brew "chunkwm" brew "bat"
brew "diceware" brew "diceware"
brew "direnv" brew "direnv"
brew "fzf" brew "fzf"
@ -19,9 +19,9 @@ brew "rsync"
brew "skhd" brew "skhd"
brew "tig" brew "tig"
brew "tmux" brew "tmux"
brew "vim"
brew "watch" brew "watch"
brew "wget" brew "wget"
brew "yabai"
brew "zsh" brew "zsh"
cask "1password" cask "1password"
@ -35,11 +35,17 @@ cask "iterm2"
cask "kaleidoscope" cask "kaleidoscope"
cask "karabiner-elements" cask "karabiner-elements"
cask "macvim" cask "macvim"
cask "phantomjs"
cask "textmate" cask "textmate"
tap "homebrew/cask-fonts" tap "homebrew/cask-fonts"
cask "font-source-code-pro" cask "font-source-code-pro"
cask "font-source-sans-pro" cask "font-source-sans-pro"
cask "font-sourcecodepro-nerd-font" cask "font-sauce-code-pro-nerd-font"
cask "font-sourcecodepro-nerd-font-mono"
mas "1Blocker", id: 1107421413
mas "PCalc", id: 403504866
mas "Trello", id: 1278508951
mas "Xcode", id: 497799835
mas "Pastebot", id: 1179623856
mas "Gifox", id: 1082624744
mas "Wireguard", id: 1451685025

View File

@ -1,14 +0,0 @@
#!/bin/sh
# Ask the user to generate a code signing key for `chunkwm`
echo "Please generate a code signing certificate called 'chunkwm-cert' in Keychain Access"
read -r -p "Press any key to continue... " -n 1
# We need to code sign chunkwm and skhd in order for them to be added to the
# accessibility allowed list.
codesign -fs "chunkwm-cert" $(which chunkwm)
codesign -fs "chunkwm-cert" $(which skhd)
# Start chunkwm
brew services start chunkwm
brew services start skhd

View File

@ -1,10 +0,0 @@
#!/bin/sh
# mas install 13764025890
mas install 1107421413 # 1Blocker
mas install 403504866 # PCalc
mas install 1278508951 # Trello
mas install 497799835 # Xcode
mas install 1179623856 # Pastebot
mas install 1082624744 # Gifox
mas install 1451685025 # Wireguard

3
lib/yabai.sh Executable file
View File

@ -0,0 +1,3 @@
# Start Yabai
brew services start yabai
brew services start skhd

View File

@ -34,10 +34,10 @@ fi
# Install Homebrew # Install Homebrew
step "Installing Homebrew" step "Installing Homebrew"
if ! type brew > /dev/null; then if ! type brew > /dev/null; then
/usr/bin/ruby -e \ /bin/bash -c \
"$(curl \ "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-fsSL \ echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/danbarber/.zprofile
https://raw.githubusercontent.com/Homebrew/install/master/install)" eval $(/opt/homebrew/bin/brew shellenv)
fi fi
# Clone setup repo # Clone setup repo
@ -65,13 +65,9 @@ step "Changing shell to zsh"
step "Set git author" step "Set git author"
"$MAC_SETUP_DIR/lib/git_author.sh" "$MAC_SETUP_DIR/lib/git_author.sh"
# Setup `chunkwm` # Setup `yabai`
step "Setting up ChunkWM" step "Setting up Yabai"
"$MAC_SETUP_DIR/lib/chunkwm.sh" "$MAC_SETUP_DIR/lib/yabai.sh"
# Install Mac App Store apps
step "Installing App Store apps"
"$MAC_SETUP_DIR/lib/mas.sh"
# Tweak the hell out of macOS settings # Tweak the hell out of macOS settings
step "Tweaking macOS config settings (takes a while)" step "Tweaking macOS config settings (takes a while)"