2023-11-10 16:12:15 -05:00
|
|
|
# ------------------------------------------------------
|
|
|
|
# Install dotfiles
|
|
|
|
# ------------------------------------------------------
|
|
|
|
|
2024-02-19 03:00:59 -05:00
|
|
|
if [ -d ~/dotfiles-versions/$version/alacritty ]; then
|
|
|
|
_installSymLink alacritty ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config
|
|
|
|
fi
|
2024-05-26 18:41:55 -04:00
|
|
|
if [ -d ~/dotfiles-versions/$version/kitty ]; then
|
|
|
|
_installSymLink kitty ~/.config/kitty ~/dotfiles/kitty/ ~/.config
|
|
|
|
fi
|
2024-02-19 03:00:59 -05:00
|
|
|
if [ -d ~/dotfiles-versions/$version/vim ]; then
|
|
|
|
_installSymLink vim ~/.config/vim ~/dotfiles/vim/ ~/.config
|
|
|
|
fi
|
2024-03-20 05:10:25 -04:00
|
|
|
if [ $neovim == "1" ] ;then
|
|
|
|
if [ -d ~/dotfiles-versions/$version/nvim ]; then
|
|
|
|
_installSymLink nvim ~/.config/nvim ~/dotfiles/nvim/ ~/.config
|
|
|
|
fi
|
2024-02-19 03:00:59 -05:00
|
|
|
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
|
2023-11-17 07:48:02 -05:00
|
|
|
fi
|
2024-06-12 01:26:20 -04:00
|
|
|
if [ -d ~/dotfiles-versions/$version/eww ]; then
|
2024-05-01 06:18:47 -04:00
|
|
|
_installSymLink eww ~/.config/eww ~/dotfiles/eww/ ~/.config
|
|
|
|
fi
|
2024-05-10 17:02:55 -04:00
|
|
|
if [ -d ~/dotfiles-versions/$version/fastfetch ]; then
|
|
|
|
_installSymLink fastfetch ~/.config/fastfetch ~/dotfiles/fastfetch/ ~/.config
|
|
|
|
fi
|
2024-05-23 01:35:44 -04:00
|
|
|
if [ -f ~/dotfiles-versions/$version/chrome-flags.conf ]; then
|
|
|
|
_installSymLink chrome-flags ~/.config/chrome-flags.conf ~/dotfiles/chrome-flags.conf ~/.config
|
|
|
|
fi
|
2024-06-05 23:20:28 -04:00
|
|
|
if [ -d ~/dotfiles-versions/$version/Vimix-hyprcursors ]; then
|
2024-06-10 18:05:07 -04:00
|
|
|
if [ ! -d ~/.local/share/icons ]; then mkdir -pv ~/.local/share/icons; fi
|
|
|
|
_installSymLink Vimix-hyprcursors ~/.local/share/icons/Vimix-hyprcursors ~/dotfiles/Vimix-hyprcursors ~/.local/share/icons/
|
2024-06-05 23:20:28 -04:00
|
|
|
fi
|
2024-07-20 01:37:01 -04:00
|
|
|
if [ -d ~/dotfiles-versions/$version/ranger ]; then
|
|
|
|
_installSymLink ranger ~/.config/ranger ~/dotfiles/ranger/ ~/.config
|
|
|
|
fi
|
2024-03-19 11:58:35 -04:00
|
|
|
echo ":: Symbolic links created."
|
2024-04-29 11:01:51 -04:00
|
|
|
echo
|