configs/arch-config/.config/scripts/download-arcolinux-config.sh

34 lines
718 B
Bash
Raw Normal View History

2020-02-21 20:14:27 +01:00
#!/bin/bash
2020-02-28 22:39:48 +01:00
#change to home (does not show in terminal)
cd $HOME
2020-02-28 22:42:11 +01:00
#remove old installs
2020-02-24 09:04:02 +01:00
rm -rf ~/arcolinux-config
2020-02-21 20:18:42 +01:00
2020-02-28 22:42:11 +01:00
#clone this repo
2020-02-21 20:14:27 +01:00
git clone https://gitlab.com/RealStickman/arcolinux-config.git &&
2020-02-28 22:42:11 +01:00
#copy stuff
2020-02-21 20:38:30 +01:00
cp -r ~/arcolinux-config/.config/ ~/ &&
cp ~/arcolinux-config/.bashrc ~/ &&
2020-02-28 22:42:11 +01:00
#copy commands
cp ~/arcolinux-config/Commands ~/Dokumente
2020-02-21 20:14:27 +01:00
2020-02-28 22:42:11 +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
2020-02-21 20:14:27 +01:00
2020-02-28 22:42:11 +01:00
#remove downloaded folder
2020-02-24 09:04:02 +01:00
rm -rf ~/arcolinux-config
2020-02-21 20:45:29 +01:00
2020-02-28 22:42:11 +01:00
#restart i3 in place
2020-02-24 09:04:02 +01:00
i3 restart
2020-02-28 22:42:11 +01:00
#output
2020-02-24 10:02:11 +01:00
echo Finished updating everything!
2020-02-24 10:03:01 +01:00
echo Launching new shell!
2020-02-24 10:02:11 +01:00
2020-02-29 15:29:28 +01:00
#new shell to reload .bashrc and fish config
2020-02-24 10:03:01 +01:00
exec bash