#!/bin/bash NEXTCLOUD_DIR="${NEXTCLOUD_DIR}"; INSTALL_FONTS="${INSTALL_FONTS}"; dir="${BASH_SOURCE%/*}"; pushd "$dir" > /dev/null; scriptRoot="$dir/../.."; softwareRoot="$scriptRoot/Software"; configRoot="$scriptRoot/Config"; cloudRoot="$configRoot/rclone"; # Sync clouds { pushd "$dir" > /dev/null; gnome-terminal --tab --wait -- /bin/bash "../rclone/InstallSync.sh" nextcloud "$NEXTCLOUD_DIR"; if [ ! -z "$INSTALL_FONTS" ] then # Install fonts source "../Fonts/NerdFont/install.sh"; fi; source "../bash/oh-my-posh.sh"; source "../Oh My Posh/install.sh"; popd > /dev/null; } & if [ ! -z "$INSTALL_FONTS" ] then # Microsoft Windows Fonts source "../Fonts/MicrosoftFonts/install.sh"; fi; source "../git/install.sh"; popd > /dev/null;