PortValhalla/scripts/Common/Config/UserProfile/personal.sh

31 lines
667 B
Bash
Raw Normal View History

#!/bin/bash
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}";
2023-04-01 13:39:29 +00:00
INSTALL_FONTS="${INSTALL_FONTS}";
dir="${BASH_SOURCE%/*}";
pushd "$dir" > /dev/null;
# Sync clouds
{
pushd "$dir" > /dev/null;
gnome-terminal --tab --wait -- /bin/bash "../rclone/InstallSync.sh" nextcloud "$NEXTCLOUD_DIR";
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
source "../bash/oh-my-posh.sh";
source "../Oh My Posh/install.sh";
popd > /dev/null;
} &
2023-04-01 15:08:17 +00:00
if [ ! -z "$INSTALL_FONTS" ]
then
# Microsoft Windows Fonts
source "../Fonts/MicrosoftFonts/install.sh";
fi;
source "../git/install.sh";
popd > /dev/null;