1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00
Gogh/themes/material.sh
2018-11-29 21:48:25 +01:00

54 lines
1.4 KiB
Bash
Executable File

#!/usr/bin/env bash
# ====================CONFIG THIS =============================== #
export COLOR_01="#073641"
export COLOR_02="#EB606B"
export COLOR_03="#C3E88D"
export COLOR_04="#F7EB95"
export COLOR_05="#80CBC3"
export COLOR_06="#FF2490"
export COLOR_07="#AEDDFF"
export COLOR_08="#FFFFFF"
export COLOR_09="#002B36"
export COLOR_10="#EB606B"
export COLOR_11="#C3E88D"
export COLOR_12="#F7EB95"
export COLOR_13="#7DC6BF"
export COLOR_14="#6C71C3"
export COLOR_15="#34434D"
export COLOR_16="#FFFFFF"
export BACKGROUND_COLOR="#1E282C"
export FOREGROUND_COLOR="#C3C7D1"
export CURSOR_COLOR="#657B83"
export PROFILE_NAME="Material"
# =============================================================== #
# =============================================================== #
# | 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
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
(eval "$(curl -so- "${BASE_URL}/apply-colors.sh")")
else
# Linux ships with wget
(eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")")
fi
fi