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

configs="$DOTFILES/configs"

case $(hostname) in
  # desktop
  wpcarro.lon.corp.google.com)
    (cd "$configs/desktop" && stow --delete --target="$HOME" *);;
  # laptop
  wpcarro.roam.googlers.com)
    (cd "$configs/laptop" && stow --delete --target="$HOME" *);;
  # cloudtop
  wpcarro.c.googlers.com)
    (cd "$configs/cloudtop" && stow --delete --target="$HOME" *);;
esac

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