dotfiles/tools/relink.sh

15 lines
557 B
Bash
Raw Normal View History

2022-07-04 16:06:23 +03:00
#!/bin/sh
set -e
2022-07-04 16:06:23 +03:00
# script that (re)links all dotfiles during the installation or upgrade.
# do not run manually
2022-12-22 21:39:38 +03:00
ln -sf $HOME/.dotfiles/configs/.zshrc $HOME/.zshrc
ln -sf $HOME/.dotfiles/configs/.profile $HOME/.profile
2022-12-31 14:40:47 +03:00
ln -sf $HOME/.dotfiles/configs/nvim $HOME/.config/
ln -sf $HOME/.dotfiles/configs/alacritty $HOME/.config/
ln -sf $HOME/.dotfiles/configs/sway $HOME/.config/
ln -sf $HOME/.dotfiles/configs/waybar $HOME/.config/
ln -sf $HOME/.dotfiles/configs/mako $HOME/.config/
ln -sf $HOME/.dotfiles/configs/qt5ct $HOME/.config/
2022-12-22 21:39:38 +03:00
echo "Dotfiles linked."