2020-03-04 14:12:37 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-04-10 13:13:26 +02:00
|
|
|
#DO NOT MAKE CHANGES TO THE INSTALL SCRIPT HERE. USE arcolinux-config.sh IN /scripts FOR THAT
|
|
|
|
|
2020-03-04 14:12:37 +01:00
|
|
|
#change to home (does not show in terminal)
|
|
|
|
cd $HOME
|
|
|
|
|
|
|
|
#remove old installs
|
2020-04-10 13:10:46 +02:00
|
|
|
#rm -rf ~/arcolinux-config
|
2020-03-04 14:12:37 +01:00
|
|
|
|
|
|
|
#clone this repo
|
2020-04-10 13:10:46 +02:00
|
|
|
#git clone https://gitlab.com/RealStickman-arcolinux/arcolinux-config.git &&
|
2020-03-04 14:12:37 +01:00
|
|
|
|
|
|
|
#copy stuff
|
2020-04-10 13:10:46 +02:00
|
|
|
#cp -r ~/arcolinux-config/.config/ ~/ &&
|
|
|
|
#cp ~/arcolinux-config/.bashrc ~/ &&
|
2020-03-04 14:12:37 +01:00
|
|
|
#copy commands
|
2020-04-10 13:10:46 +02:00
|
|
|
#cp ~/arcolinux-config/Commands ~/Dokumente
|
2020-03-12 11:42:57 +01:00
|
|
|
#copy scripts
|
2020-04-10 13:10:46 +02:00
|
|
|
#cp -r ~/arcolinux-config/scripts/ ~/
|
2020-04-10 13:03:32 +02:00
|
|
|
#copy stuff to /etc
|
2020-04-10 13:10:46 +02:00
|
|
|
#sudo cp -r ~/arcolinux-config/etc /
|
2020-03-04 14:12:37 +01:00
|
|
|
|
|
|
|
#make bash scripts executable
|
2020-04-10 13:10:46 +02:00
|
|
|
#chmod +x ~/.config/polybar/launch.sh
|
|
|
|
#chmod +x ~/.config/scripts/startup.sh
|
|
|
|
#chmod +x ~/.config/i3/scripts/i3exit.sh
|
|
|
|
#chmod +x ~/scripts/arcolinux-config.sh
|
2020-03-04 14:12:37 +01:00
|
|
|
|
|
|
|
#remove downloaded folder
|
2020-04-10 13:10:46 +02:00
|
|
|
#rm -rf ~/arcolinux-config
|
2020-03-04 14:12:37 +01:00
|
|
|
|
|
|
|
#restart i3 in place
|
2020-04-10 13:10:46 +02:00
|
|
|
#i3 restart
|
2020-03-04 14:12:37 +01:00
|
|
|
|
|
|
|
#output
|
2020-04-10 13:10:46 +02:00
|
|
|
#echo Finished updating everything!
|
|
|
|
#echo Launching new shell!
|
2020-03-04 14:12:37 +01:00
|
|
|
|
|
|
|
#new shell to reload .bashrc and fish config
|
2020-04-10 13:10:46 +02:00
|
|
|
#exec bash
|
|
|
|
|
|
|
|
echo Launching arcolinux-config.sh
|
|
|
|
|
|
|
|
#make executable & launch arcolinux-config.sh
|
2020-04-18 23:34:34 +02:00
|
|
|
chmod +x ~/config/scripts/arcolinux-config.sh
|
|
|
|
bash ~/config/scripts/arcolinux-config.sh
|