From 1c64fe603c8354704110b397b2e89817f5c4d895 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 2 Dec 2019 18:19:42 +0100 Subject: Added some directory structure and mainpage init. --- archSetup.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'archSetup.sh') diff --git a/archSetup.sh b/archSetup.sh index bf4694d..bfed36a 100755 --- a/archSetup.sh +++ b/archSetup.sh @@ -94,6 +94,20 @@ echo "" # Install programs with yay sed -n '/^# yay/,$p' "$packagesFile" | sed '/^#/d' | yay -S - +# Directory structure +mkdir -p "$HOME/downloads/videos" +mkdir -p "$HOME/downloads/audios" +mkdir -p "$HOME/images/screenshots" +mkdir -p "$HOME/images/wallpapers/shufs/current" + +# Mainpage +( +cd "$HOME/repos" +git clone "https://github.com/InigoGutierrez/mainpage.git" +cp -r "mainpage" "$HOME/.mainpage" +rm -rf "$HOME/.mainpage/.git" +) + # Remove default .bash_profile as it avoids .profile execution if [ -f ".bash_profile" ]; then echo "Remove .bash_profile? It prevents .profile from being executed. [y/N]" -- cgit v1.2.1