From f82d582d6f455835d8025b38872864dc47feaa19 Mon Sep 17 00:00:00 2001 From: Daniel Fox Franke Date: Fri, 29 Jan 2021 13:02:11 -0500 Subject: [PATCH] Add Lunaria themes --- gogh.sh | 3 +++ themes/lunaria-dark.sh | 55 +++++++++++++++++++++++++++++++++++++++ themes/lunaria-eclipse.sh | 55 +++++++++++++++++++++++++++++++++++++++ themes/lunaria-light.sh | 55 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 168 insertions(+) create mode 100644 themes/lunaria-dark.sh create mode 100644 themes/lunaria-eclipse.sh create mode 100644 themes/lunaria-light.sh diff --git a/gogh.sh b/gogh.sh index 4875477..1621bfd 100755 --- a/gogh.sh +++ b/gogh.sh @@ -104,6 +104,9 @@ declare -a THEMES=( 'lavandula.sh' 'liquid-carbon-transparent.sh' 'liquid-carbon.sh' + 'lunaria-light.sh' + 'lunaria-dark.sh' + 'lunaria-eclipse.sh' 'maia.sh' 'man-page.sh' 'mar.sh' diff --git a/themes/lunaria-dark.sh b/themes/lunaria-dark.sh new file mode 100644 index 0000000..6f7405a --- /dev/null +++ b/themes/lunaria-dark.sh @@ -0,0 +1,55 @@ +#!/usr/bin/env bash + +# ====================CONFIG THIS =============================== # +export COLOR_01="#36464E" # Black +export COLOR_02="#846560" # Red +export COLOR_03="#809984" # Green +export COLOR_04="#A79A79" # Yellow +export COLOR_05="#555673" # Blue +export COLOR_06="#866C83" # Magenta +export COLOR_07="#7E98B4" # Cyan +export COLOR_08="#CACED8" # Light gray + +export COLOR_09="#404F56" # Dark gray +export COLOR_10="#BB928B" # Light Red +export COLOR_11="#BFDCC2" # Light Green +export COLOR_12="#F1DFB6" # Light Yellow +export COLOR_13="#777798" # Light Blue +export COLOR_14="#BF9DB9" # Light Magenta +export COLOR_15="#BDDCFF" # Light Cyan +export COLOR_16="#DFE2ED" # White + +export BACKGROUND_COLOR="#36464E" # Background Color +export FOREGROUND_COLOR="#CACED8" # Foreground Color (text) +export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color +export PROFILE_NAME="Lunaria Dark" +# =============================================================== # + + + + + + + +# =============================================================== # +# | 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/lunaria-eclipse.sh b/themes/lunaria-eclipse.sh new file mode 100644 index 0000000..80fc25b --- /dev/null +++ b/themes/lunaria-eclipse.sh @@ -0,0 +1,55 @@ +#!/usr/bin/env bash + +# ====================CONFIG THIS =============================== # +export COLOR_01="#323F46" # Black +export COLOR_02="#83615B" # Red +export COLOR_03="#7F9781" # Green +export COLOR_04="#A69875" # Yellow +export COLOR_05="#53516F" # Blue +export COLOR_06="#856880" # Magenta +export COLOR_07="#7D96B2" # Cyan +export COLOR_08="#C9CDD7" # Light gray + +export COLOR_09="#3D4950" # Dark gray +export COLOR_10="#BA9088" # Light Red +export COLOR_11="#BEDBC1" # Light Green +export COLOR_12="#F1DFB4" # Light Yellow +export COLOR_13="#767495" # Light Blue +export COLOR_14="#BE9CB8" # Light Magenta +export COLOR_15="#BCDBFF" # Light Cyan +export COLOR_16="#DFE2ED" # White + +export BACKGROUND_COLOR="#323F46" # Background Color +export FOREGROUND_COLOR="#C9CDD7" # Foreground Color (text) +export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color +export PROFILE_NAME="Lunaria Eclipse" +# =============================================================== # + + + + + + + +# =============================================================== # +# | 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/lunaria-light.sh b/themes/lunaria-light.sh new file mode 100644 index 0000000..dbb206f --- /dev/null +++ b/themes/lunaria-light.sh @@ -0,0 +1,55 @@ +#!/usr/bin/env bash + +# ====================CONFIG THIS =============================== # +export COLOR_01="#3E3C3D" # Black +export COLOR_02="#783C1F" # Red +export COLOR_03="#497D46" # Green +export COLOR_04="#8F750B" # Yellow +export COLOR_05="#3F3566" # Blue +export COLOR_06="#793F62" # Magenta +export COLOR_07="#3778A9" # Cyan +export COLOR_08="#D5CFCC" # Light gray + +export COLOR_09="#484646" # Dark gray +export COLOR_10="#B06240" # Light Red +export COLOR_11="#7BC175" # Light Green +export COLOR_12="#DCB735" # Light Yellow +export COLOR_13="#5C4F89" # Light Blue +export COLOR_14="#B56895" # Light Magenta +export COLOR_15="#64BAFF" # Light Cyan +export COLOR_16="#EBE4E1" # White + +export BACKGROUND_COLOR="#EBE4E1" # Background Color +export FOREGROUND_COLOR="#484646" # Foreground Color (text) +export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color +export PROFILE_NAME="Lunaria Light" +# =============================================================== # + + + + + + + +# =============================================================== # +# | 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