diff options
Diffstat (limited to 'deploy.sh')
| -rwxr-xr-x | deploy.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..5d8fdcf --- /dev/null +++ b/deploy.sh @@ -0,0 +1,20 @@ +function install_font { + mkdir -p "${HOME}/.local/share/fonts/" + curl -OL https://github.com/be5invis/Iosevka/releases/download/v34.6.3/PkgTTC-Iosevka-34.6.3.zip + unzip PkgTTC-Iosevka-34.6.3.zip -d "${HOME}/.local/share/fonts/iosevka/" + fc-cache +} + +for i in $(find . -maxdepth 1 -type d); do + + if [[ "$i" == "./.git" ]]; then + continue + fi + + mkdir -p "${HOME}/.config/${i}" + ln -s "$(pwd)/${i}" "${HOME}/.config/${i}" +done + +ln -s "$(pwd)/.tmux.conf" "${HOME}/.tmux.conf" + +install_font |
