Trying to launch arcolinux-config.sh through install.sh

This commit is contained in:
RealStickman 2020-04-10 11:10:46 +00:00
parent 459f3d2a68
commit 7f78034bf1

View File

@ -4,37 +4,42 @@
cd $HOME cd $HOME
#remove old installs #remove old installs
rm -rf ~/arcolinux-config #rm -rf ~/arcolinux-config
#clone this repo #clone this repo
git clone https://gitlab.com/RealStickman-arcolinux/arcolinux-config.git && #git clone https://gitlab.com/RealStickman-arcolinux/arcolinux-config.git &&
#copy stuff #copy stuff
cp -r ~/arcolinux-config/.config/ ~/ && #cp -r ~/arcolinux-config/.config/ ~/ &&
cp ~/arcolinux-config/.bashrc ~/ && #cp ~/arcolinux-config/.bashrc ~/ &&
#copy commands #copy commands
cp ~/arcolinux-config/Commands ~/Dokumente #cp ~/arcolinux-config/Commands ~/Dokumente
#copy scripts #copy scripts
cp -r ~/arcolinux-config/scripts/ ~/ #cp -r ~/arcolinux-config/scripts/ ~/
#copy stuff to /etc #copy stuff to /etc
sudo cp -r ~/arcolinux-config/etc / #sudo cp -r ~/arcolinux-config/etc /
#make bash scripts executable #make bash scripts executable
chmod +x ~/.config/polybar/launch.sh #chmod +x ~/.config/polybar/launch.sh
chmod +x ~/.config/scripts/startup.sh #chmod +x ~/.config/scripts/startup.sh
chmod +x ~/.config/scripts/download-arcolinux-config.sh #chmod +x ~/.config/i3/scripts/i3exit.sh
chmod +x ~/.config/i3/scripts/i3exit.sh #chmod +x ~/scripts/arcolinux-config.sh
chmod +x ~/scripts/arcolinux-config.sh
#remove downloaded folder #remove downloaded folder
rm -rf ~/arcolinux-config #rm -rf ~/arcolinux-config
#restart i3 in place #restart i3 in place
i3 restart #i3 restart
#output #output
echo Finished updating everything! #echo Finished updating everything!
echo Launching new shell! #echo Launching new shell!
#new shell to reload .bashrc and fish config #new shell to reload .bashrc and fish config
exec bash #exec bash
echo Launching arcolinux-config.sh
#make executable & launch arcolinux-config.sh
chmod +x ~/arcolinux-config/scripts/arcolinux-config.sh
bash ~/arcolinux-config/scripts/arcolinux-config.sh