2022-07-04 16:06:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# script that (re)links all dotfiles during the installation or upgrade.
|
|
|
|
# do not run manually
|
|
|
|
|
2022-08-09 11:27:28 +03:00
|
|
|
mkdir -p $HOME/.config/nvim $HOME/.config/alacritty >/dev/null 2>&1
|
|
|
|
rm -rf $HOME/.zshrc $HOME/.config/nvim/init.vim $HOME/.config/alacritty/alacritty.yml $HOME/.config/sway $HOME/.config/waybar >/dev/null 2>&1
|
2022-07-09 17:46:01 +03:00
|
|
|
ln -s $HOME/.dotfiles/configs/zshrc $HOME/.zshrc
|
2022-08-03 13:22:50 +03:00
|
|
|
echo ".zshrc linked: $HOME/.dotfiles/configs/zshrc -> $HOME/.zshrc"
|
2022-08-09 11:27:28 +03:00
|
|
|
ln -s $HOME/.dotfiles/configs/.profile $HOME/.profile
|
|
|
|
echo ".profile linked $HOME/.dotfiles/configs/.profile -> $HOME/.profile"
|
2022-07-09 18:23:31 +03:00
|
|
|
ln -s $HOME/.dotfiles/configs/nvim.vim $HOME/.config/nvim/init.vim
|
2022-08-03 13:22:50 +03:00
|
|
|
echo "neovim config linked: $HOME/.dotfiles/configs/nvim.vim -> $HOME/.config/nvim/init.vim"
|
2022-07-09 18:23:31 +03:00
|
|
|
ln -s $HOME/.dotfiles/configs/alacritty.yml $HOME/.config/alacritty/alacritty.yml
|
2022-08-03 13:22:50 +03:00
|
|
|
echo "alacritty config linked: $HOME/.dotfiles/configs/alacritty.yml -> $HOME/.config/alacritty/alacritty.yml"
|
2022-08-09 11:27:28 +03:00
|
|
|
|
|
|
|
ln -s $HOME/.dotfiles/configs/sway $HOME/.config/
|
|
|
|
ln -s $HOME/.dotfiles/configs/waybar $HOME/.config/
|
|
|
|
echo "sway and waybar dotfiles installed"
|