27 lines · 563 B · executable
#!/bin/bash

basedir="$HOME/.dotfiles"

if [[ -z $XDG_CONFIG_HOME ]]; then
    XDG_CONFIG_HOME="$HOME/.config"
fi

$basedir/bin/symlink

if [[ $? != 0 ]]; then
	exit 1
fi

# XCode Themes
XCODE_THEMES="$HOME/Library/Developer/Xcode/UserData/FontAndColorThemes"
rm -rf "$XCODE_THEMES"
mkdir -p "$XCODE_THEMES"
ln -s "$THISDIR/xcode/Meowgorithm.dvtcolortheme" "$XCODE_THEMES/Meowgorithm.dvtcolortheme"
ln -s "$HOME/xcode/MeowgorithmMorning.dvtcolortheme" "$XCODE_THEMES/MeowgorithmMorning.dvtcolortheme"

gpg --decrypt ./macos/extra.gpg | bash

echo
echo Done.
echo