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

configs="$BRIEFCASE/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" .)