configs/arch-config/install.sh

39 lines
859 B
Bash
Raw Normal View History

2020-03-04 14:12:37 +01:00
#!/bin/bash
#change to home (does not show in terminal)
cd $HOME
#remove old installs
rm -rf ~/arcolinux-config
#clone this repo
git clone https://gitlab.com/RealStickman-arcolinux/arcolinux-config.git &&
#copy stuff
cp -r ~/arcolinux-config/.config/ ~/ &&
cp ~/arcolinux-config/.bashrc ~/ &&
#copy commands
cp ~/arcolinux-config/Commands ~/Dokumente
2020-03-12 11:42:57 +01:00
#copy scripts
2020-03-12 12:19:12 +01:00
cp -r ~/arcolinux-config/scripts/ ~/
2020-03-04 14:12:37 +01:00
#make bash scripts executable
chmod +x ~/.config/polybar/launch.sh
chmod +x ~/.config/scripts/startup.sh
chmod +x ~/.config/scripts/download-arcolinux-config.sh
chmod +x ~/.config/i3/scripts/i3exit.sh
2020-03-12 12:11:35 +01:00
chmod +x ~/scripts/arcolinux-config.sh
2020-03-04 14:12:37 +01:00
#remove downloaded folder
rm -rf ~/arcolinux-config
#restart i3 in place
i3 restart
#output
echo Finished updating everything!
echo Launching new shell!
#new shell to reload .bashrc and fish config
exec bash