tvl-depot/configs/uninstall

15 lines
369 B
Text
Raw Normal View History

#!/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" .)