51 lines
2.0 KiB
Bash
51 lines
2.0 KiB
Bash
# ------------------------------------------------------
|
|
# Install dotfiles
|
|
# ------------------------------------------------------
|
|
|
|
if [ -d ~/dotfiles-versions/$version/alacritty ]; then
|
|
_installSymLink alacritty ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config
|
|
fi
|
|
if [ -d ~/dotfiles-versions/$version/vim ]; then
|
|
_installSymLink vim ~/.config/vim ~/dotfiles/vim/ ~/.config
|
|
fi
|
|
if [ $neovim == "1" ] ;then
|
|
if [ -d ~/dotfiles-versions/$version/nvim ]; then
|
|
_installSymLink nvim ~/.config/nvim ~/dotfiles/nvim/ ~/.config
|
|
fi
|
|
fi
|
|
if [ -d ~/dotfiles-versions/$version/starship ]; then
|
|
_installSymLink starship ~/.config/starship.toml ~/dotfiles/starship/starship.toml ~/.config/starship.toml
|
|
fi
|
|
if [ -d ~/dotfiles-versions/$version/rofi ]; then
|
|
_installSymLink rofi ~/.config/rofi ~/dotfiles/rofi/ ~/.config
|
|
fi
|
|
if [ -d ~/dotfiles-versions/$version/dunst ]; then
|
|
_installSymLink dunst ~/.config/dunst ~/dotfiles/dunst/ ~/.config
|
|
fi
|
|
if [ -d ~/dotfiles-versions/$version/hypr ]; then
|
|
_installSymLink hypr ~/.config/hypr ~/dotfiles/hypr/ ~/.config
|
|
fi
|
|
if [ -d ~/dotfiles-versions/$version/waybar ]; then
|
|
_installSymLink waybar ~/.config/waybar ~/dotfiles/waybar/ ~/.config
|
|
fi
|
|
if [ -d ~/dotfiles-versions/$version/swaylock ]; then
|
|
_installSymLink swaylock ~/.config/swaylock ~/dotfiles/swaylock/ ~/.config
|
|
fi
|
|
if [ -d ~/dotfiles-versions/$version/wlogout ]; then
|
|
_installSymLink wlogout ~/.config/wlogout ~/dotfiles/wlogout/ ~/.config
|
|
fi
|
|
if [ -d ~/dotfiles-versions/$version/swappy ]; then
|
|
_installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config
|
|
fi
|
|
if [ -d ~/dotfiles-versions/$version/swappy ]; then
|
|
_installSymLink eww ~/.config/eww ~/dotfiles/eww/ ~/.config
|
|
fi
|
|
if [ -d ~/dotfiles-versions/$version/fastfetch ]; then
|
|
_installSymLink fastfetch ~/.config/fastfetch ~/dotfiles/fastfetch/ ~/.config
|
|
fi
|
|
if [ -f ~/dotfiles-versions/$version/chrome-flags.conf ]; then
|
|
_installSymLink chrome-flags ~/.config/chrome-flags.conf ~/dotfiles/chrome-flags.conf ~/.config
|
|
fi
|
|
echo ":: Symbolic links created."
|
|
echo
|