From 087ea6ec3cc0b5e53377c23c34f8d7dfad17e9fb Mon Sep 17 00:00:00 2001 From: Jacopo Maltagliati Date: Sat, 16 Mar 2019 18:33:10 +0100 Subject: [PATCH] Prepped for mono themes pr --- gogh.sh | 6 +++++ themes/mono-amber.sh | 55 +++++++++++++++++++++++++++++++++++++++++++ themes/mono-cyan.sh | 55 +++++++++++++++++++++++++++++++++++++++++++ themes/mono-green.sh | 55 +++++++++++++++++++++++++++++++++++++++++++ themes/mono-red.sh | 55 +++++++++++++++++++++++++++++++++++++++++++ themes/mono-white.sh | 55 +++++++++++++++++++++++++++++++++++++++++++ themes/mono-yellow.sh | 55 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 336 insertions(+) create mode 100644 themes/mono-amber.sh create mode 100644 themes/mono-cyan.sh create mode 100644 themes/mono-green.sh create mode 100644 themes/mono-red.sh create mode 100644 themes/mono-white.sh create mode 100644 themes/mono-yellow.sh diff --git a/gogh.sh b/gogh.sh index d5e47db..462efd2 100755 --- a/gogh.sh +++ b/gogh.sh @@ -102,6 +102,12 @@ declare -a THEMES=( 'miu.sh' 'molokai.sh' 'mona-lisa.sh' + 'mono-amber.sh' + 'mono-cyan.sh' + 'mono-green.sh' + 'mono-red.sh' + 'mono-white.sh' + 'mono-yellow.sh' 'monokai-dark.sh' 'monokai-soda.sh' 'n0tch2k.sh' diff --git a/themes/mono-amber.sh b/themes/mono-amber.sh new file mode 100644 index 0000000..158e532 --- /dev/null +++ b/themes/mono-amber.sh @@ -0,0 +1,55 @@ +#!/usr/bin/env bash + +# ====================CONFIG THIS =============================== # +export COLOR_01="#402500" # Black +export COLOR_02="#FF9400" # Red +export COLOR_03="#FF9400" # Green +export COLOR_04="#FF9400" # Yellow +export COLOR_05="#FF9400" # Blue +export COLOR_06="#FF9400" # Magenta +export COLOR_07="#FF9400" # Cyan +export COLOR_08="#FF9400" # Light gray + +export COLOR_09="#FF9400" # Dark gray +export COLOR_10="#FF9400" # Light Red +export COLOR_11="#FF9400" # Light Green +export COLOR_12="#FF9400" # Light Yellow +export COLOR_13="#FF9400" # Light Blue +export COLOR_14="#FF9400" # Light Magenta +export COLOR_15="#FF9400" # Light Cyan +export COLOR_16="#FF9400" # White + +export BACKGROUND_COLOR="#2B1900" # Background Color +export FOREGROUND_COLOR="#FF9400" # Foreground Color (text) +export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color +export PROFILE_NAME="mono-amber" +# =============================================================== # + + + + + + + +# =============================================================== # +# | 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 diff --git a/themes/mono-cyan.sh b/themes/mono-cyan.sh new file mode 100644 index 0000000..e69bf3d --- /dev/null +++ b/themes/mono-cyan.sh @@ -0,0 +1,55 @@ +#!/usr/bin/env bash + +# ====================CONFIG THIS =============================== # +export COLOR_01="#003340" # Black +export COLOR_02="#00CCFF" # Red +export COLOR_03="#00CCFF" # Green +export COLOR_04="#00CCFF" # Yellow +export COLOR_05="#00CCFF" # Blue +export COLOR_06="#00CCFF" # Magenta +export COLOR_07="#00CCFF" # Cyan +export COLOR_08="#00CCFF" # Light gray + +export COLOR_09="#00CCFF" # Dark gray +export COLOR_10="#00CCFF" # Light Red +export COLOR_11="#00CCFF" # Light Green +export COLOR_12="#00CCFF" # Light Yellow +export COLOR_13="#00CCFF" # Light Blue +export COLOR_14="#00CCFF" # Light Magenta +export COLOR_15="#00CCFF" # Light Cyan +export COLOR_16="#00CCFF" # White + +export BACKGROUND_COLOR="#00222B" # Background Color +export FOREGROUND_COLOR="#00CCFF" # Foreground Color (text) +export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color +export PROFILE_NAME="mono-cyan" +# =============================================================== # + + + + + + + +# =============================================================== # +# | 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 diff --git a/themes/mono-green.sh b/themes/mono-green.sh new file mode 100644 index 0000000..bde1012 --- /dev/null +++ b/themes/mono-green.sh @@ -0,0 +1,55 @@ +#!/usr/bin/env bash + +# ====================CONFIG THIS =============================== # +export COLOR_01="#034000" # Black +export COLOR_02="#0BFF00" # Red +export COLOR_03="#0BFF00" # Green +export COLOR_04="#0BFF00" # Yellow +export COLOR_05="#0BFF00" # Blue +export COLOR_06="#0BFF00" # Magenta +export COLOR_07="#0BFF00" # Cyan +export COLOR_08="#0BFF00" # Light gray + +export COLOR_09="#0BFF00" # Dark gray +export COLOR_10="#0BFF00" # Light Red +export COLOR_11="#0BFF00" # Light Green +export COLOR_12="#0BFF00" # Light Yellow +export COLOR_13="#0BFF00" # Light Blue +export COLOR_14="#0BFF00" # Light Magenta +export COLOR_15="#0BFF00" # Light Cyan +export COLOR_16="#0BFF00" # White + +export BACKGROUND_COLOR="#022B00" # Background Color +export FOREGROUND_COLOR="#0BFF00" # Foreground Color (text) +export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color +export PROFILE_NAME="mono-green" +# =============================================================== # + + + + + + + +# =============================================================== # +# | 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 diff --git a/themes/mono-red.sh b/themes/mono-red.sh new file mode 100644 index 0000000..b6c9d84 --- /dev/null +++ b/themes/mono-red.sh @@ -0,0 +1,55 @@ +#!/usr/bin/env bash + +# ====================CONFIG THIS =============================== # +export COLOR_01="#401200" # Black +export COLOR_02="#FF3600" # Red +export COLOR_03="#FF3600" # Green +export COLOR_04="#FF3600" # Yellow +export COLOR_05="#FF3600" # Blue +export COLOR_06="#FF3600" # Magenta +export COLOR_07="#FF3600" # Cyan +export COLOR_08="#FF3600" # Light gray + +export COLOR_09="#FF3600" # Dark gray +export COLOR_10="#FF3600" # Light Red +export COLOR_11="#FF3600" # Light Green +export COLOR_12="#FF3600" # Light Yellow +export COLOR_13="#FF3600" # Light Blue +export COLOR_14="#FF3600" # Light Magenta +export COLOR_15="#FF3600" # Light Cyan +export COLOR_16="#FF3600" # White + +export BACKGROUND_COLOR="#2B0C00" # Background Color +export FOREGROUND_COLOR="#FF3600" # Foreground Color (text) +export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color +export PROFILE_NAME="mono-red" +# =============================================================== # + + + + + + + +# =============================================================== # +# | 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 diff --git a/themes/mono-white.sh b/themes/mono-white.sh new file mode 100644 index 0000000..aff5fa6 --- /dev/null +++ b/themes/mono-white.sh @@ -0,0 +1,55 @@ +#!/usr/bin/env bash + +# ====================CONFIG THIS =============================== # +export COLOR_01="#3B3B3B" # Black +export COLOR_02="#FAFAFA" # Red +export COLOR_03="#FAFAFA" # Green +export COLOR_04="#FAFAFA" # Yellow +export COLOR_05="#FAFAFA" # Blue +export COLOR_06="#FAFAFA" # Magenta +export COLOR_07="#FAFAFA" # Cyan +export COLOR_08="#FAFAFA" # Light gray + +export COLOR_09="#FAFAFA" # Dark gray +export COLOR_10="#FAFAFA" # Light Red +export COLOR_11="#FAFAFA" # Light Green +export COLOR_12="#FAFAFA" # Light Yellow +export COLOR_13="#FAFAFA" # Light Blue +export COLOR_14="#FAFAFA" # Light Magenta +export COLOR_15="#FAFAFA" # Light Cyan +export COLOR_16="#FAFAFA" # White + +export BACKGROUND_COLOR="#262626" # Background Color +export FOREGROUND_COLOR="#FAFAFA" # Foreground Color (text) +export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color +export PROFILE_NAME="mono-white" +# =============================================================== # + + + + + + + +# =============================================================== # +# | 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 diff --git a/themes/mono-yellow.sh b/themes/mono-yellow.sh new file mode 100644 index 0000000..8953df2 --- /dev/null +++ b/themes/mono-yellow.sh @@ -0,0 +1,55 @@ +#!/usr/bin/env bash + +# ====================CONFIG THIS =============================== # +export COLOR_01="#403500" # Black +export COLOR_02="#FFD300" # Red +export COLOR_03="#FFD300" # Green +export COLOR_04="#FFD300" # Yellow +export COLOR_05="#FFD300" # Blue +export COLOR_06="#FFD300" # Magenta +export COLOR_07="#FFD300" # Cyan +export COLOR_08="#FFD300" # Light gray + +export COLOR_09="#FFD300" # Dark gray +export COLOR_10="#FFD300" # Light Red +export COLOR_11="#FFD300" # Light Green +export COLOR_12="#FFD300" # Light Yellow +export COLOR_13="#FFD300" # Light Blue +export COLOR_14="#FFD300" # Light Magenta +export COLOR_15="#FFD300" # Light Cyan +export COLOR_16="#FFD300" # White + +export BACKGROUND_COLOR="#2B2400" # Background Color +export FOREGROUND_COLOR="#FFD300" # Foreground Color (text) +export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color +export PROFILE_NAME="mono-yellow" +# =============================================================== # + + + + + + + +# =============================================================== # +# | 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