dotfiles/install-config.sh
2022-05-21 21:23:14 +02:00

30 lines
687 B
Bash
Executable File

#!/bin/bash
current_dir=$(pwd)
echo ""
echo "# Copying files to home ${HOME}"
cd ${current_dir}
cp -rf * ${HOME}
cp -rf .bash* ${HOME}/
cp -rf .zsh* ${HOME}/
cp -rf .conky* ${HOME}/
cp -rf .config* ${HOME}/
cp -rf .vim* ${HOME}/
cp -rf .Xresources ${HOME}/
rm -rfv ~/.dwm/autostart.sh 2> /dev/null
mkdir -p ~/.dwm
ln -s ~/.config/dwm/autostart.sh ~/.dwm/autostart.sh
echo "# Removing unnecesary files"
sleep 2
rm -rf ${HOME}/README.md
rm -rf ${HOME}/README-i3.md
rm -rf ${HOME}/README-spectrwm.md
rm -rf ${HOME}/README-sway.md
rm -rf ${HOME}/README-qtile.md
rm -rf ${HOME}/README-dwm.md
rm -rf ${HOME}/Dependencies.md
rm -rf ${HOME}/install-config.sh
echo "# Config files installed!"