summaryrefslogtreecommitdiff
path: root/deploy.sh
blob: cf6649bd581e8a3a1327a6b754859e894d887097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}

mkdir -p "${HOME}/.config"

for i in $(find . -maxdepth 1 -type d); do

    if [[ "$i" == "./.git" ]]; then
	continue
    fi
    
    ln -sfn "$(pwd)/${i}" "${HOME}/.config/"
done

ln -s "$(pwd)/.tmux.conf" "${HOME}/.tmux.conf"

install_font