#!/usr/bin/env bash brew tap buo/cask-upgrade brew tap homebrew/cask-fonts brew install --cask 1password brew install --cask adoptopenjdk/openjdk/adoptopenjdk8 brew install --cask alfred brew install --cask carbon-copy-cloner brew install --cask dash brew install --cask firefox brew install --cask forklift brew install --cask google-chrome brew install --cask hammerspoon brew install --cask iina brew install --cask imagealpha brew install --cask imageoptim brew install --cask iterm2 brew install --cask kap brew install --cask karabiner-elements brew install --cask microsoft-teams brew install --cask numi brew install --cask qlcolorcode brew install --cask qlstephen brew install --cask sequel-pro brew install --cask signal brew install --cask sketch brew install --cask skype brew install --cask spotify brew install --cask telegram brew install --cask vmware-fusion brew install --cask zoom # link config files for some casks ln -s ~/dotfiles/hammerspoon ~/.hammerspoon ln -s ~/dotfiles/karabiner ~/.config/karabiner # Drivers and other software brew install --cask font-fira-code brew install --cask ubiquiti-unifi-controller # Tell unifi-controller to use brew-installed java sudo ln -s /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk /Applications/UniFi.app/Contents/PlugIns/adoptopenjdk-8.jdk sudo v /Applications/UniFi.app/Contents/Info.plist # THEN add this: JVMRuntime adoptopenjdk-8.jdk # set some options for qlcolorcode defaults write org.n8gray.QLColorCode font "Fira Code" defaults write org.n8gray.QLColorCode fontSizePoints 9 defaults write org.n8gray.QLColorCode hlTheme blacknblue defaults write org.n8gray.QLColorCode extraHLFlags '--replace-tabs=2' # reload QuickLook and set permissions sudo xattr -cr ~/Library/QuickLook/*.qlgenerator qlmanage -r qlmanage -r cache # firefox-extensions: # vimium ff, dark reader, privacy badger, ublock origin, # 1passwd classic extension, react developer tools # other software: # bill: https://billtheapp.com/ # citrix: https://www.citrix.com/downloads/workspace-app/mac/workspace-app-for-mac-latest.html