summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2020-10-19 20:26:00 -0400
committerKjetil Orbekk <kj@orbekk.com>2020-10-19 20:26:00 -0400
commitee9cf79230250e82fe01affc193422bcbf499270 (patch)
tree07b43a8942ded60e8aa7b4860c519b3b6225e3fe /setup.sh
parent419df6fe0b72f9479e108e6ca5160aa6381aab87 (diff)
Update setup script
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh21
1 files changed, 13 insertions, 8 deletions
diff --git a/setup.sh b/setup.sh
index 9e79458..1af71ce 100755
--- a/setup.sh
+++ b/setup.sh
@@ -4,17 +4,22 @@ set -euo pipefail
STOW="stow -R --no-folding -v"
cd "$(dirname $0)"
-$STOW -R zsh
+$STOW common
+$STOW zsh
source $HOME/.zshenv
-$STOW -R Xresources
+if which xmonad >/dev/null; then
+ $STOW desktop
+ xmonad --recompile
+fi
-if which emacs >/dev/null; then
- $STOW -R emacs
- # doom sync # Too slow!
+if [[ $# -ge 1 && $1 == "fast" ]]; then
+ shift
+ exit
fi
-if which xmonad >/dev/null; then
- $STOW xmonad
- xmonad --recompile
+if which emacs >/dev/null; then
+ $STOW emacs
+ git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
+ doom sync # Too slow!
fi