2020-03-12 11:44:07 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-04-10 13:12:35 +02:00
|
|
|
#ANY CHANGES TO THE INSTALLATION PROCEDURE SHOULD BE MADE HERE
|
|
|
|
|
2020-03-12 11:44:07 +01:00
|
|
|
#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
|
|
|
|
#copy scripts
|
2020-03-12 12:19:01 +01:00
|
|
|
cp -r ~/arcolinux-config/scripts/ ~/
|
2020-04-10 13:03:58 +02:00
|
|
|
#copy stuff to /etc
|
2020-04-10 13:04:49 +02:00
|
|
|
sudo cp -r ~/arcolinux-config/etc /
|
2020-04-16 21:05:43 +02:00
|
|
|
#copy old lightdm themes (and maybe other stuff, idk)
|
|
|
|
sudo cp -r ~/arcolinux-config/var /
|
2020-03-12 11:44:07 +01:00
|
|
|
|
2020-04-15 11:18:39 +02:00
|
|
|
#gimp plugins
|
2020-04-15 11:23:56 +02:00
|
|
|
cp -r ~/arcolinux-config/gimp-plugins/* ~/.config/GIMP/2.10/plug-ins/
|
2020-04-15 11:21:46 +02:00
|
|
|
#unzip gimp plugins
|
2020-04-15 11:27:07 +02:00
|
|
|
echo Unzipping gimp plugins
|
2020-04-15 11:28:19 +02:00
|
|
|
unzip -o ~/.config/GIMP/2.10/plug-ins/export_layers-3.3.1.zip -d ~/.config/GIMP/2.10/plug-ins/
|
2020-04-15 11:27:07 +02:00
|
|
|
rm ~/.config/GIMP/2.10/plug-ins/export_layers-3.3.1.zip
|
2020-04-15 11:21:46 +02:00
|
|
|
echo Unzipped gimp plugins
|
2020-04-15 11:18:39 +02:00
|
|
|
|
2020-03-12 11:44:07 +01:00
|
|
|
#make bash scripts executable
|
|
|
|
chmod +x ~/.config/polybar/launch.sh
|
|
|
|
chmod +x ~/.config/scripts/startup.sh
|
|
|
|
chmod +x ~/.config/i3/scripts/i3exit.sh
|
2020-03-12 12:11:28 +01:00
|
|
|
chmod +x ~/scripts/arcolinux-config.sh
|
2020-03-12 11:44:07 +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
|