dotfiles/Terminal/setup.sh
2022-05-28 13:32:00 -07:00

7 lines
433 B
Bash
Executable File

#!/usr/bin/env bash -eo pipefail
# Taken from: https://apple.stackexchange.com/questions/344401/how-to-programatically-set-terminal-theme-profile
theme=$(<theme.xml)
plutil -replace Window\ Settings.Dracula -xml "$theme" ~/Library/Preferences/com.apple.Terminal.plist
defaults write com.apple.Terminal "Default Window Settings" -string "DraculaTest"
defaults write com.apple.Terminal "Startup Window Settings" -string "DraculaTest"