Skip to content

Instantly share code, notes, and snippets.

@Pytness
Created March 28, 2022 11:43
Show Gist options
  • Save Pytness/1e09069366035c28e70ffa6fd454a0f3 to your computer and use it in GitHub Desktop.
Save Pytness/1e09069366035c28e70ffa6fd454a0f3 to your computer and use it in GitHub Desktop.
Gogh custom color palette: Saturated Chalkboard
#!/usr/bin/env bash
# ====================CONFIG THIS =============================== #
export COLOR_01="#000000" # HOST
export COLOR_02="#d86464" # SYNTAX_STRING
export COLOR_03="#57d36d" # COMMAND
export COLOR_04="#d0d06a" # COMMAND_COLOR2
export COLOR_05="#6464ce" # PATH
export COLOR_06="#d763cc" # SYNTAX_VAR
export COLOR_07="#56d2d2" # PROMP
export COLOR_08="#d9d9d9" #
export COLOR_09="#323232" #
export COLOR_10="#e8a1a2" # COMMAND_ERROR
export COLOR_11="#9ce4a5" # EXEC
export COLOR_12="#e2e3a5" #
export COLOR_13="#a1a2e1" # FOLDER
export COLOR_14="#e8a1e0" #
export COLOR_15="#9ae3e5" #
export COLOR_16="#ffffff" #
export BACKGROUND_COLOR="#29262f" # Background Color
export FOREGROUND_COLOR="#cfeeff" # Text
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor
export PROFILE_NAME="Chalkboard Saturated"
# =============================================================== #
# =============================================================== #
# | 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment