aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-12-02 18:19:42 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-12-02 18:19:42 +0100
commit1c64fe603c8354704110b397b2e89817f5c4d895 (patch)
treea3c7c9f281f51ca416980f8dbf6e9bf5ed935c49
parentd645f79494ac1f69daa176c4f7b551e5e1282ddd (diff)
downloadscripts-1c64fe603c8354704110b397b2e89817f5c4d895.tar.gz
scripts-1c64fe603c8354704110b397b2e89817f5c4d895.zip
Added some directory structure and mainpage init.
-rwxr-xr-xarchSetup.sh14
1 files changed, 14 insertions, 0 deletions
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]"