2023-01-23 16:19:55 +00:00
|
|
|
#!/bin/bash
|
2023-04-01 15:16:00 +00:00
|
|
|
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}";
|
2023-04-01 13:39:29 +00:00
|
|
|
INSTALL_FONTS="${INSTALL_FONTS}";
|
2023-01-23 16:19:55 +00:00
|
|
|
dir="${BASH_SOURCE%/*}";
|
2023-03-16 19:14:49 +00:00
|
|
|
pushd "$dir" > /dev/null;
|
2023-01-23 16:19:55 +00:00
|
|
|
scriptRoot="$dir/../..";
|
|
|
|
softwareRoot="$scriptRoot/Software";
|
|
|
|
configRoot="$scriptRoot/Config";
|
2023-03-16 18:54:53 +00:00
|
|
|
cloudRoot="$configRoot/rclone";
|
2023-01-23 16:19:55 +00:00
|
|
|
|
|
|
|
# Sync clouds
|
|
|
|
{
|
2023-03-16 19:14:49 +00:00
|
|
|
pushd "$dir" > /dev/null;
|
2023-04-01 15:16:00 +00:00
|
|
|
gnome-terminal --tab --wait -- /bin/bash "../rclone/InstallSync.sh" nextcloud "$NEXTCLOUD_DIR";
|
2023-01-23 16:19:55 +00:00
|
|
|
|
2023-04-01 13:39:29 +00:00
|
|
|
if [ ! -z "$INSTALL_FONTS" ]
|
|
|
|
then
|
|
|
|
# Install fonts
|
2023-04-01 15:08:17 +00:00
|
|
|
source "../Fonts/NerdFont/install.sh";
|
|
|
|
fi;
|
2023-04-01 13:39:29 +00:00
|
|
|
|
2023-04-01 15:08:17 +00:00
|
|
|
source "../../Software/Oh My Posh/install.sh";
|
2023-03-16 19:14:49 +00:00
|
|
|
popd > /dev/null;
|
2023-01-23 16:19:55 +00:00
|
|
|
} &
|
|
|
|
|
2023-04-01 15:08:17 +00:00
|
|
|
if [ ! -z "$INSTALL_FONTS" ]
|
|
|
|
then
|
|
|
|
# Microsoft Windows Fonts
|
|
|
|
source "../Fonts/MicrosoftFonts/install.sh";
|
|
|
|
fi;
|
2023-01-23 16:19:55 +00:00
|
|
|
|
|
|
|
# Git Config
|
2023-04-01 15:08:17 +00:00
|
|
|
source "../git/setup/install.sh";
|
2023-01-23 16:19:55 +00:00
|
|
|
|
|
|
|
# Troll Stuff
|
2023-04-01 15:08:17 +00:00
|
|
|
source "../git/git-auf-deutsch/install.sh";
|
2023-03-16 19:14:49 +00:00
|
|
|
popd > /dev/null;
|