Added .doom.d to install script.

This commit is contained in:
RealStickman 2020-09-09 20:56:53 +02:00
parent f474d80736
commit c4019748a7
2 changed files with 14 additions and 23 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
#DO NOT MAKE CHANGES TO THE INSTALL SCRIPT HERE. USE arcolinux-config.sh IN /scripts FOR THAT #DO NOT MAKE CHANGES TO THE INSTALL SCRIPT HERE. USE arcolinux-config.sh IN ~/scripts FOR THAT
#change to home (does not show in terminal) #change to home (does not show in terminal)
cd $HOME cd $HOME
@ -9,4 +9,4 @@ echo Launching arcolinux-config.sh
#make executable & launch arcolinux-config.sh #make executable & launch arcolinux-config.sh
chmod +x ~/config/scripts/arcolinux-config.sh chmod +x ~/config/scripts/arcolinux-config.sh
bash ~/config/scripts/arcolinux-config.sh bash ~/config/scripts/arcolinux-config.sh

View File

@ -13,52 +13,41 @@ git clone https://gitlab.com/RealStickman-arcolinux/config.git &&
#delete previous backups #delete previous backups
rm -rf ~/old_dat rm -rf ~/old_dat
#make new directory #make new directory
mkdir ~/old_dat mkdir ~/old_dat
#back stuff up #back stuff up
rsync -ah --progress ~/.config ~/old_dat/.config && rsync -ah --progress ~/.config ~/old_dat/.config &&
#rsync -ah --progress ~/Dokumente ~/old_dat/Dokumente &&
rsync -ah --progress ~/scripts ~/old_dat/scripts && rsync -ah --progress ~/scripts ~/old_dat/scripts &&
rsync -ah --progress ~/.mozilla ~/old_dat/.mozilla && rsync -ah --progress ~/.mozilla ~/old_dat/.mozilla &&
rsync -ah --progress ~/.easystroke ~/old_dat/.easystroke && rsync -ah --progress ~/.easystroke ~/old_dat/.easystroke &&
rsync -ah --progress ~/.emacs.d ~/old_dat/.emacs.d && rsync -ah --progress ~/.emacs.d ~/old_dat/.emacs.d &&
rsync -ah --progress ~/.doom.d ~/old_dat/.doom.d && rsync -ah --progress ~/.doom.d ~/old_dat/.doom.d &&
#cp -r ~/.config ~/old_dat/.config &&
#cp -r ~/Dokumente ~/old_dat/Dokumente &&
#cp -r ~/scripts ~/old_dat/scripts &&
#cp -r ~/.mozilla ~/old_dat/.mozilla &&
#cp -r ~/.easystroke ~/old_dat/.easystroke &&
echo Made backups echo Made backups
#copy folders #copy folders
#rsync -ah --progress ~/config/.config/ ~/ &&
#rsync -ah --progress ~/config/Dokumente ~/ &&
#rsync -ah --progress ~/config/.mozilla ~/ &&
#rsync -ah --progress ~/config/.easystroke ~/ &&
cp -r ~/config/.config/ ~/ && cp -r ~/config/.config/ ~/ &&
cp -r ~/config/Dokumente ~/ && cp -r ~/config/Dokumente ~/ &&
cp -r ~/config/.mozilla ~/ && cp -r ~/config/.mozilla ~/ &&
mkdir ~/.easystroke mkdir ~/.easystroke
cp -r ~/config/.easystroke ~/ && cp -r ~/config/.easystroke ~/ &&
cp -r ~/config/.doom.d ~/ &&
echo Copied folders echo Copied folders
#copy single files
#rsync -ah --progress ~/config/.bashrc ~/ &&
#rsync -ah --progress ~/config/.face ~/ &&
#rsync -ah --progress ~/config/.gtkrc-2.0 ~/ &&
#copy single files
cp -r ~/config/.bashrc ~/ && cp -r ~/config/.bashrc ~/ &&
cp -r ~/config/.face ~/ && cp -r ~/config/.face ~/ &&
cp -r ~/config/.gtkrc-2.0 ~/ && cp -r ~/config/.gtkrc-2.0 ~/ &&
cp -r ~/config/.gitconfig ~/ && cp -r ~/config/.gitconfig ~/ &&
echo Copied files echo Copied files
#copy scripts
#rsync -ah --progress ~/config/scripts/ ~/
#copy scripts
cp -r ~/config/scripts/ ~/ cp -r ~/config/scripts/ ~/
#copy stuff to /etc #copy stuff to /etc
sudo cp -r ~/config/etc / sudo cp -r ~/config/etc /
#copy old lightdm themes (and maybe other stuff, idk) #copy old lightdm themes (and maybe other stuff, idk)
sudo cp -r ~/config/var / sudo cp -r ~/config/var /
@ -66,12 +55,11 @@ sudo cp -r ~/config/var /
mkdir ~/.config/GIMP/ mkdir ~/.config/GIMP/
mkdir ~/.config/GIMP/2.10/ mkdir ~/.config/GIMP/2.10/
mkdir ~/.config/GIMP/2.10/plug-ins/ mkdir ~/.config/GIMP/2.10/plug-ins/
#rsync -ah --progress ~/config/gimp-plugins/* ~/.config/GIMP/2.10/plug-ins/ rsync -ah ~/config/gimp-plugins/* ~/.config/GIMP/2.10/plug-ins/
rsync -ah ~/config/gimp-plugins/* ~/.config/GIMP/2.10/plug-ins/
#unzip gimp plugins #unzip gimp plugins
echo Unzipping gimp plugins echo Unzipping gimp plugins
#unzip -o ~/.config/GIMP/2.10/plug-ins/export_layers-3.3.1.zip -d ~/.config/GIMP/2.10/plug-ins/ unzip -o ~/.config/GIMP/2.10/plug-ins/export_layers-3.3.1.zip -d ~/.config/GIMP/2.10/plug-ins/
rm ~/.config/GIMP/2.10/plug-ins/export_layers-3.3.1.zip rm ~/.config/GIMP/2.10/plug-ins/export_layers-3.3.1.zip
echo Unzipped gimp plugins echo Unzipped gimp plugins
@ -84,6 +72,9 @@ chmod +x ~/scripts/arcolinux-config.sh
#remove downloaded folder #remove downloaded folder
rm -rf ~/config rm -rf ~/config
#sync doom-emacs
~/.emacs.d/bin/doom sync
#restart i3 in place #restart i3 in place
i3 restart i3 restart