-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,21 +7,21 @@ | |
repo: "https://{{ghtoken}}:[email protected]/dombean/dotfiles.git" | ||
dest: "{{ lookup('env', 'HOME') }}/dotfiles" | ||
|
||
- name: Make Custom Home Folders | ||
shell: cd $HOME && mkdir dox dwn dsk pix snd vid && rm $HOME/.config/user-dirs.dirs 2> /dev/null || true | ||
# - name: Make Custom Home Folders | ||
# shell: cd $HOME && mkdir dox dwn dsk pix snd vid && rm $HOME/.config/user-dirs.dirs 2> /dev/null || true | ||
|
||
- name: Stow Dotfiles | ||
shell: | ||
cmd: | | ||
cd $HOME/dotfiles | ||
for file in ~/dotfiles/*; do | ||
# Only run Stow on the directories in the dotfiles folder and not the individual files. | ||
# Using 'basename' strips the filepath from the directory name. | ||
# Using 'basename' strips the filepath from the directory name. | ||
if [ -d ${file} ]; then | ||
stow $(basename $file) | ||
echo "$(basename $file) stowed."; | ||
echo "$(basename $file) stowed."; | ||
fi | ||
done | ||
- name: Remove Default Home Folders | ||
shell: cd $HOME && rm -rf Desktop/ Documents/ Downloads/ Music/ Pictures/ Public/ Templates/ Videos/ 2> /dev/null || true | ||
# - name: Remove Default Home Folders | ||
# shell: cd $HOME && rm -rf Desktop/ Documents/ Downloads/ Music/ Pictures/ Public/ Templates/ Videos/ 2> /dev/null || true |