From 67c3ac58f7868c2792907e09a012411131c39eab Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 4 Mar 2020 13:12:37 +0000 Subject: [PATCH] Add new file --- arch-config/install.sh | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 arch-config/install.sh diff --git a/arch-config/install.sh b/arch-config/install.sh new file mode 100644 index 00000000..18fff954 --- /dev/null +++ b/arch-config/install.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +#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 + +#make bash scripts executable +chmod +x ~/.config/polybar/launch.sh +chmod +x ~/.config/scripts/startup.sh +chmod +x ~/.config/scripts/download-arcolinux-config.sh +chmod +x ~/.config/i3/scripts/i3exit.sh + +#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