From 211ce5016b5f3adee61aab51a2bc2403cf7f3333 Mon Sep 17 00:00:00 2001 From: Sriram <71959217+Sriram-bb63@users.noreply.github.com> Date: Fri, 23 Jul 2021 23:53:23 +0530 Subject: [PATCH 1/2] Create Morada.sh --- Morada.sh | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Morada.sh diff --git a/Morada.sh b/Morada.sh new file mode 100644 index 0000000..00fe372 --- /dev/null +++ b/Morada.sh @@ -0,0 +1,56 @@ + +#!/usr/bin/env bash + +# ====================CONFIG THIS =============================== # +export COLOR_01="#040404" # HOST +export COLOR_02="#0f49c4" # SYNTAX_STRING +export COLOR_03="#48b117" # COMMAND +export COLOR_04="#e87324" # COMMAND_COLOR2 +export COLOR_05="#bc0116" # PATH +export COLOR_06="#665b93" # SYNTAX_VAR +export COLOR_07="#70a699" # PROMP +export COLOR_08="#f5dcbe" # + +export COLOR_09="#4f7cbf" # +export COLOR_10="#1c96c7" # COMMAND_ERROR +export COLOR_11="#3bff6f" # EXEC +export COLOR_12="#efc31c" # +export COLOR_13="#fb605b" # FOLDER +export COLOR_14="#975b5a" # +export COLOR_15="#1eff8e" # +export COLOR_16="#f6f5fb" # + +export BACKGROUND_COLOR="#211f46" # Background Color +export FOREGROUND_COLOR="#ffffff" # Text +export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor +export PROFILE_NAME="Morada" +# =============================================================== # + + + + + + + +# =============================================================== # +# | Apply Colors +# ===============================================================|# +SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}" +PARENT_PATH="$(dirname "${SCRIPT_PATH}")" + +# Allow developer to change url to forked url for easier testing +# IMPORTANT: Make sure you export this variable if your main shell is not bash +BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"} + + +if [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then + bash "${PARENT_PATH}/apply-colors.sh" +else + if [[ "$(uname)" = "Darwin" ]]; then + # OSX ships with curl and ancient bash + bash -c "$(curl -so- "${BASE_URL}/apply-colors.sh")" + else + # Linux ships with wget + bash -c "$(wget -qO- "${BASE_URL}/apply-colors.sh")" + fi +fi From 4a0c9366a59aaec05e8eda74e54460dbcbb0364f Mon Sep 17 00:00:00 2001 From: Sriram-bb63 Date: Fri, 23 Jul 2021 23:57:16 +0530 Subject: [PATCH 2/2] Move Morado.sh --- Morada.sh => themes/Morada.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Morada.sh => themes/Morada.sh (100%) diff --git a/Morada.sh b/themes/Morada.sh similarity index 100% rename from Morada.sh rename to themes/Morada.sh