2024-06-09 17:45:46 -05:00
|
|
|
# Make Directory for all Dotfiles so you can sync them with Nextcloud.
|
2024-06-09 04:16:43 -05:00
|
|
|
mkdir ~/Documents/Configs
|
2024-06-09 17:45:46 -05:00
|
|
|
|
|
|
|
# Set up Bash Config and Source it ASAP.
|
2024-06-11 10:38:53 -05:00
|
|
|
[ -f "$HOME/.bashrc" ] && mv ~/.bashrc ~/.bashrc.bak
|
2024-06-09 17:45:46 -05:00
|
|
|
cp ~/.local/share/sunhat/configs/rc/bashrc ~/Documents/Configs/bashrc
|
|
|
|
ln -s ~/Documents/Configs/bashrc ~/.bashrc
|
|
|
|
source ~/.bashrc
|
|
|
|
|
|
|
|
# Copy all Dotfiles to the Configs Directory.
|
2024-06-09 04:16:43 -05:00
|
|
|
cp -r ~/.local/share/sunhat/configs/dotfiles/. ~/Documents/Configs/
|
|
|
|
|
2024-06-09 17:45:46 -05:00
|
|
|
# Remove old dotfiles if they exist & create symlinks to the new dotfiles.
|
2024-06-09 04:16:43 -05:00
|
|
|
rm -rf ~/.config/espanso
|
|
|
|
ln -s ~/Documents/Configs/espanso ~/.config/espanso
|
2024-06-09 17:45:46 -05:00
|
|
|
rm -rf ~/.config/forge
|
2024-06-09 04:16:43 -05:00
|
|
|
ln -s ~/Documents/Configs/forge ~/.config/forge
|
|
|
|
rm -rf ~/.config/kitty
|
|
|
|
ln -s ~/Documents/Configs/kitty ~/.config/kitty
|
|
|
|
rm -rf ~/.config/lobster
|
|
|
|
ln -s ~/Documents/Configs/lobster ~/.config/lobster
|
|
|
|
rm -rf ~/.config/neomutt
|
|
|
|
ln -s ~/Documents/Configs/neomutt ~/.config/neomutt
|
|
|
|
rm -rf ~/.config/nvim
|
|
|
|
ln -s ~/Documents/Configs/nvim ~/.config/nvim
|
|
|
|
rm -rf ~/.config/powerline
|
|
|
|
ln -s ~/Documents/Configs/powerline ~/.config/powerline
|
|
|
|
rm -rf ~/.config/ranger
|
|
|
|
ln -s ~/Documents/Configs/ranger ~/.config/ranger
|
2024-06-09 23:07:08 -05:00
|
|
|
|
|
|
|
# Copy any additional files such as Wallpapers,
|
|
|
|
# Icons, .desktop files, & Nautilus Extensions
|
|
|
|
cp -r ~/.local/share/sunhat/config/copy/home/. ~/
|
|
|
|
cp -r ~/.local/share/sunhat/config/copy/root/. /
|