18 lines · 350 B
#!/bin/bash

THISDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

function link() {
    rm -rf "${HOME:?}/$1"
    ln -s "$THISDIR/$2" "$HOME/$1"
}

mkdir -p "$HOME/.config/{bspwm,panel,sxhkd,kitty}"

link Xresources Xresources
link xinitrc xinitrc

# ghcup
su christian
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh