summaryrefslogtreecommitdiff
path: root/setup.sh
blob: 9e794588eb84bbf8050868150f834cb4c0ba0cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash
set -euo pipefail

STOW="stow -R --no-folding -v"

cd "$(dirname $0)"
$STOW -R zsh
source $HOME/.zshenv

$STOW -R Xresources

if which emacs >/dev/null; then
  $STOW -R emacs
  # doom sync  # Too slow!
fi

if which xmonad >/dev/null; then
    $STOW xmonad
    xmonad --recompile
fi