diff options
author | Matt Singleton <matt@xcolour.net> | 2021-12-08 12:11:09 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2021-12-08 12:11:09 -0600 |
commit | 1dc29de3df6e35b972d935f7b390198ff6913b63 (patch) | |
tree | eba47daacd0b87e12617b4724d5f143346fb6209 | |
parent | b3660395859f6cd44d75a2b4cb1ad48856458be2 (diff) |
make sure all config dirs exist and unzip only necessary fonts
-rwxr-xr-x | deploy.sh | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -13,6 +13,8 @@ xconfig="${XDG_CONFIG_HOME:-${HOME}/.config}" userbin="$HOME/.local/bin" +mkdir -p "$xcache" "$xdata" "$xconfig" "$userbin" + # deploy to XDG dirs mkdir -p "${xcache}/zsh" mkdir -p "${xdata}/zsh" @@ -64,7 +66,12 @@ if [ ! -e ~/.config/git/config-local ]; then fi if [ ! -e ~/.local/share/fonts/sourcecodepro-nerd ]; then mkdir -p ~/.local/share/fonts/sourcecodepro-nerd - unzip local/SourceCodePro.zip -d ~/.local/share/fonts/sourcecodepro-nerd + unzip local/SourceCodePro.zip \ + "Sauce Code Pro Nerd Font Complete.ttf" \ + "Sauce Code Pro Bold Nerd Font Complete.ttf" \ + "Sauce Code Pro Italic Nerd Font Complete.ttf" \ + "Sauce Code Pro Bold Italic Nerd Font Complete.ttf" \ + -d ~/.local/share/fonts/sourcecodepro-nerd echo "Run \'fc-cache -v\' to rebuild your font cache" fi dconfig="$xconfig/duplicity" |