Update dots

This commit is contained in:
Marco Thomas
2021-05-17 11:34:06 +02:00
parent a9a1915407
commit f119622e66
6 changed files with 71 additions and 2 deletions

View File

@@ -5,8 +5,10 @@ path=$(pwd)
# --- home --- #
home_files="scripts .bashrc .zshrc .gitconfig .tmux .tmux.conf .vimrc .Xresources .xinitrc"
for file in $home_files
do
# rm, so folders also get updated
rm -rf $HOME/$file
ln -sf $path/$file $HOME/$file
done
@@ -21,8 +23,10 @@ ln -sf $HOME/.xinitrc $HOME/.xsession
# --- .config --- #
conf_files="alacritty dunst nvim picom.conf ranger zathura"
for file in $conf_files
do
# rm, so folders also get updated
rm -rf $HOME/.config/$file
ln -sf $path/.config/$file $HOME/.config/$file
done