ADD install scripts

This commit is contained in:
Nathan Dwarshuis 2021-02-15 21:20:53 -05:00
parent 6231ba8586
commit 1a998ff73b
2 changed files with 17 additions and 0 deletions

16
run_once_clone-repos.sh Normal file
View File

@ -0,0 +1,16 @@
#! /bin/bash
clone_maybe () {
if [ ! -d "$2" ];
echo cloning git repo: "$1"
git clone --recurse-submodules "$1" "$2"
else
echo git repo already exists: "$1"
fi
}
clone_maybe https://github.com/ndwarshuis/.emacs.d.git "$HOME/.config/emacs"
clone_maybe https://github.com/ndwarshuis/rofi-extras.git "$HOME/.config/rofi-extras"
clone_maybe https://github.com/ndwarshuis/xmonad-config.git "$HOME/.config/xmonad"
clone_maybe https://github.com/ndwarshuis/xman.git "$HOME/.config/xman"

View File

@ -0,0 +1 @@
sudo yay -S stack-static