Skip to content

Commit

Permalink
no custom home folders on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
dombean committed Feb 12, 2025
1 parent 34c5e5e commit 7876176
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tasks/dotfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7876176

Please sign in to comment.