about summary refs log tree commit diff
path: root/configs/uninstall
blob: 526c32113f5355b2b37ffb51bb5bf1ba5b91cec2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

configs="$DOTFILES/configs"

case $(hostname) in
  $DESKTOP)
    (cd "$configs/desktop" && stow --delete --target="$HOME" .);;
  $LAPTOP)
    (cd "$configs/laptop" && stow --delete --target="$HOME" .);;
  $CLOUDTOP)
    (cd "$configs/cloudtop" && stow --delete --target="$HOME" .);;
esac

(cd "$configs/shared" && stow --delete --target="$HOME" .)