Files
dots/files/linkdots.sh
Marco Thomas b853fb4257 Remove dunst
2021-09-19 12:59:15 +02:00

29 lines
556 B
Bash
Executable File

#!/usr/bin/env bash
# Make sure the paths are correct
path=$(pwd)
# --- home --- #
home_files="scripts .zshrc .gitconfig .tmux.conf .vimrc .profile"
for file in $home_files
do
# rm, so folders also get updated
rm -rf $HOME/$file
ln -sf $path/$file $HOME/$file
done
# emacs
mkdir -p $HOME/.emacs.d
ln -sf $path/init.el $HOME/.emacs.d/init.el
# --- .config --- #
conf_files="alacritty zathura i3 i3status"
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