From bb1f47f8fcdb5142ef5b3a672a7cf4886e1f2902 Mon Sep 17 00:00:00 2001 From: mquintero Date: Fri, 19 May 2017 15:07:01 -0500 Subject: [PATCH] Improvements for local dev --- _apply-colors.sh | 194 ------------------------------ apply-colors.sh | 14 --- base.sh | 32 ----- content/howto.md | 2 +- themes/_base.sh | 54 +++++++++ themes/aci.sh | 31 ++++- themes/aco.sh | 31 ++++- themes/azu.sh | 31 ++++- themes/bim.sh | 31 ++++- themes/cai.sh | 31 ++++- themes/chalk.sh | 31 ++++- themes/dracula.sh | 31 ++++- themes/elementary.sh | 31 ++++- themes/elic.sh | 31 ++++- themes/elio.sh | 31 ++++- themes/flat.sh | 31 ++++- themes/freya.sh | 31 ++++- themes/gruvbox.dark.sh | 31 ++++- themes/hemisu.dark.sh | 31 ++++- themes/hemisu.light.sh | 31 ++++- themes/hybrid.sh | 31 ++++- themes/jup.sh | 31 ++++- themes/mar.sh | 31 ++++- themes/material.sh | 31 ++++- themes/miu.sh | 31 ++++- themes/monokai.dark.sh | 31 ++++- themes/nep.sh | 31 ++++- themes/nord.light.sh | 32 ++++- themes/nord.sh | 32 ++++- themes/ocean.dark.sh | 31 ++++- themes/one.dark.sh | 31 ++++- themes/one.light.sh | 31 ++++- themes/pali.sh | 31 ++++- themes/peppermint.sh | 31 ++++- themes/sat.sh | 31 ++++- themes/shel.sh | 31 ++++- themes/smyck.sh | 32 ++++- themes/solarized.dark.sh | 31 ++++- themes/solarized.light.sh | 31 ++++- themes/tin.sh | 31 ++++- themes/tomorrow.night.blue.sh | 31 ++++- themes/tomorrow.night.bright.sh | 31 ++++- themes/tomorrow.night.eighties.sh | 31 ++++- themes/tomorrow.night.sh | 31 ++++- themes/tomorrow.sh | 31 ++++- themes/ura.sh | 31 ++++- themes/vag.sh | 31 ++++- 47 files changed, 1189 insertions(+), 412 deletions(-) delete mode 100644 _apply-colors.sh delete mode 100755 base.sh create mode 100755 themes/_base.sh diff --git a/_apply-colors.sh b/_apply-colors.sh deleted file mode 100644 index db565a5..0000000 --- a/_apply-colors.sh +++ /dev/null @@ -1,194 +0,0 @@ -#!/usr/bin/env bash - -# | -# | Convert RGB to gnome colors -# | =========================================== -function gnome_color () { - - AA=${1:1:2} - BB=${1:3:2} - CC=${1:5:2} - - echo "#${AA}${AA}${BB}${BB}${CC}${CC}" -} - -# | -# | Check for the terminal name and decide how to apply -# | =========================================== -if [ $(ps -p $(ps -p $(ps -p $$ -o ppid=) -o ppid=) -o args=) = "pantheon-terminal" ]; then - # | - # | Applying values on pantheon-terminal - # | =========================================== - gsettings set org.pantheon.terminal.settings background "${BACKGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings foreground "${FOREGROUND_COLOR}" - gsettings set org.pantheon.terminal.settings cursor-color "${CURSOR_COLOR}" - gsettings set org.pantheon.terminal.settings palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - -else - # | - # | Applying values on gnome-terminal - # | =========================================== - BACKGROUND_COLOR=$(gnome_color $BACKGROUND_COLOR) - FOREGROUND_COLOR=$(gnome_color $FOREGROUND_COLOR) - COLOR_01=$(gnome_color $COLOR_01) - COLOR_02=$(gnome_color $COLOR_02) - COLOR_03=$(gnome_color $COLOR_03) - COLOR_04=$(gnome_color $COLOR_04) - COLOR_05=$(gnome_color $COLOR_05) - COLOR_06=$(gnome_color $COLOR_06) - COLOR_07=$(gnome_color $COLOR_07) - COLOR_08=$(gnome_color $COLOR_08) - COLOR_09=$(gnome_color $COLOR_09) - COLOR_10=$(gnome_color $COLOR_10) - COLOR_11=$(gnome_color $COLOR_11) - COLOR_12=$(gnome_color $COLOR_12) - COLOR_13=$(gnome_color $COLOR_13) - COLOR_14=$(gnome_color $COLOR_14) - COLOR_15=$(gnome_color $COLOR_15) - COLOR_16=$(gnome_color $COLOR_16) - - # | - # | Apply Variables - # | =========================================== - - - [[ -z "$PROFILE_NAME" ]] && PROFILE_NAME="Default" - [[ -z "$PROFILE_SLUG" ]] && PROFILE_SLUG="Default" - [[ -z "$DCONF" ]] && DCONF=dconf - [[ -z "$UUIDGEN" ]] && UUIDGEN=uuidgen - - dset() { - local key="$1"; shift - local val="$1"; shift - - if [[ "$type" == "string" ]]; then - val="'$val'" - fi - - "$DCONF" write "$PROFILE_KEY/$key" "$val" - } - - # because dconf still doesn't have "append" - dlist_append() { - local key="$1"; shift - local val="$1"; shift - - local entries="$( - { - "$DCONF" read "$key" | tr -d '[]' | tr , "\n" | fgrep -v "$val" - echo "'$val'" - } | head -c-1 | tr "\n" , - )" - - "$DCONF" write "$key" "[$entries]" - } - - # Newest versions of gnome-terminal use dconf - if which "$DCONF" > /dev/null 2>&1; then - [[ -z "$BASE_KEY_NEW" ]] && BASE_KEY_NEW=/org/gnome/terminal/legacy/profiles: - - if [[ -n "`$DCONF list $BASE_KEY_NEW/`" ]]; then - if which "$UUIDGEN" > /dev/null 2>&1; then - PROFILE_SLUG=`uuidgen` - fi - - if [[ -n "`$DCONF read $BASE_KEY_NEW/default`" ]]; then - DEFAULT_SLUG=`$DCONF read $BASE_KEY_NEW/default | tr -d \'` - else - DEFAULT_SLUG=`$DCONF list $BASE_KEY_NEW/ | grep '^:' | head -n1 | tr -d :/` - fi - - DEFAULT_KEY="$BASE_KEY_NEW/:$DEFAULT_SLUG" - PROFILE_KEY="$BASE_KEY_NEW/:$PROFILE_SLUG" - - # copy existing settings from default profile - $DCONF dump "$DEFAULT_KEY/" | $DCONF load "$PROFILE_KEY/" - - # add new copy to list of profiles - dlist_append $BASE_KEY_NEW/list "$PROFILE_SLUG" - - # update profile values with theme options - dset visible-name "'$PROFILE_NAME'" - dset palette "['${COLOR_01}', '${COLOR_02}', '${COLOR_03}', '${COLOR_04}', '${COLOR_05}', '${COLOR_06}', '${COLOR_07}', '${COLOR_08}', '${COLOR_09}', '${COLOR_10}', '${COLOR_11}', '${COLOR_12}', '${COLOR_13}', '${COLOR_14}', '${COLOR_15}', '${COLOR_16}']" - dset background-color "'${BACKGROUND_COLOR}'" - dset foreground-color "'${FOREGROUND_COLOR}'" - if [ ! -z "${BOLD_COLOR}" ]; then - dset bold-color "'${BOLD_COLOR}'" - dset bold-color-same-as-fg "false" - else - dset bold-color "'${COLOR_08}'" - dset bold-color-same-as-fg "true" - fi - dset use-theme-colors "false" - dset use-theme-background "false" - - unset PROFILE_NAME - unset PROFILE_SLUG - unset DCONF - unset UUIDGEN - exit 0 - fi - fi - - # Fallback for Gnome 2 and early Gnome 3 - [[ -z "$GCONFTOOL" ]] && GCONFTOOL=gconftool - [[ -z "$BASE_KEY" ]] && BASE_KEY=/apps/gnome-terminal/profiles - - PROFILE_KEY="$BASE_KEY/$PROFILE_SLUG" - - gset() { - local type="$1"; shift - local key="$1"; shift - local val="$1"; shift - - "$GCONFTOOL" --set --type "$type" "$PROFILE_KEY/$key" -- "$val" - } - - # Because gconftool doesn't have "append" - glist_append() { - local type="$1"; shift - local key="$1"; shift - local val="$1"; shift - - local entries="$( - { - "$GCONFTOOL" --get "$key" | tr -d '[]' | tr , "\n" | fgrep -v "$val" - echo "$val" - } | head -c-1 | tr "\n" , - )" - - "$GCONFTOOL" --set --type list --list-type $type "$key" "[$entries]" - } - - # Append the Base16 profile to the profile list - glist_append string /apps/gnome-terminal/global/profile_list "$PROFILE_SLUG" - - gset string visible_name "$PROFILE_NAME" - gset string palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" - gset string background_color "${BACKGROUND_COLOR}" - gset string foreground_color "${FOREGROUND_COLOR}" - gset string bold_color "${FOREGROUND_COLOR}" - gset bool bold_color_same_as_fg "true" - gset bool use_theme_colors "false" - gset bool use_theme_background "false" - - unset PROFILE_NAME - unset PROFILE_SLUG - unset DCONF - unset UUIDGEN - -fi - -# | -# | View color scheme in terminal -# | =========================================== -function gogh_colors () { - echo "" - echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" - echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" - echo "" -} - -if [[ "$(dirname $(readlink -f "${*:-/dev/null}"))" == "$(dirname $(readlink -f "$0"))*" ]]; then - gogh_colors -fi diff --git a/apply-colors.sh b/apply-colors.sh index db565a5..bfcdfd4 100644 --- a/apply-colors.sh +++ b/apply-colors.sh @@ -178,17 +178,3 @@ else unset UUIDGEN fi - -# | -# | View color scheme in terminal -# | =========================================== -function gogh_colors () { - echo "" - echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" - echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" - echo "" -} - -if [[ "$(dirname $(readlink -f "${*:-/dev/null}"))" == "$(dirname $(readlink -f "$0"))*" ]]; then - gogh_colors -fi diff --git a/base.sh b/base.sh deleted file mode 100755 index fa17d85..0000000 --- a/base.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -# ====================CONFIG THIS =============================== # -COLOR_01="#44475a" # HOST -COLOR_02="#ff5555" # SYNTAX_STRING -COLOR_03="#50fa7b" # COMMAND -COLOR_04="#ffb86c" # COMMAND_COLOR2 -COLOR_05="#8be9fd" # PATH -COLOR_06="#bd93f9" # SYNTAX_VAR -COLOR_07="#ff79c6" # PROMP -COLOR_08="#94A3A5" # - -COLOR_09="#000000" # -COLOR_10="#ff5555" # COMMAND_ERROR -COLOR_11="#50fa7b" # EXEC -COLOR_12="#ffb86c" # -COLOR_13="#8be9fd" # FOLDER -COLOR_14="#bd93f9" # -COLOR_15="#ff79c6" # -COLOR_16="#ffffff" # - -BACKGROUND_COLOR="#282a36" # Background Color -FOREGROUND_COLOR="#94A3A5" # Text -CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor -# ============================================= -# | -# | Apply Colors -# | =========================================== - -source <(wget -O - http://git.io/vY8Qq) - -# . _apply-colors.sh diff --git a/content/howto.md b/content/howto.md index b699781..a388611 100644 --- a/content/howto.md +++ b/content/howto.md @@ -15,7 +15,7 @@ Please feel free to use and create your own color schemes. - **The Script** -https://github.com/Mayccoll/Gogh/blob/master/base.sh +https://github.com/Mayccoll/Gogh/blob/master/themes/_base.sh - **Variables** diff --git a/themes/_base.sh b/themes/_base.sh new file mode 100755 index 0000000..539c843 --- /dev/null +++ b/themes/_base.sh @@ -0,0 +1,54 @@ +#!/usr/bin/env bash + +# ====================CONFIG THIS =============================== # +COLOR_01="#44475a" # HOST +COLOR_02="#ff5555" # SYNTAX_STRING +COLOR_03="#50fa7b" # COMMAND +COLOR_04="#ffb86c" # COMMAND_COLOR2 +COLOR_05="#8be9fd" # PATH +COLOR_06="#bd93f9" # SYNTAX_VAR +COLOR_07="#ff79c6" # PROMP +COLOR_08="#94A3A5" # + +COLOR_09="#000000" # +COLOR_10="#ff5555" # COMMAND_ERROR +COLOR_11="#50fa7b" # EXEC +COLOR_12="#ffb86c" # +COLOR_13="#8be9fd" # FOLDER +COLOR_14="#bd93f9" # +COLOR_15="#ff79c6" # +COLOR_16="#ffffff" # + +BACKGROUND_COLOR="#282a36" # Background Color +FOREGROUND_COLOR="#94A3A5" # Text +CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor +# ============================================= + + + + + + + +# =============================================================== # +# | Apply Colors +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/aci.sh b/themes/aci.sh index 6ca2042..9ca8f22 100755 --- a/themes/aci.sh +++ b/themes/aci.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#b4e1fd" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/aco.sh b/themes/aco.sh index b0ccbb3..7a64aca 100755 --- a/themes/aco.sh +++ b/themes/aco.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#b4e1fd" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/azu.sh b/themes/azu.sh index 603d682..31983c5 100755 --- a/themes/azu.sh +++ b/themes/azu.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#d9e6f2" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/bim.sh b/themes/bim.sh index 90cb047..b716590 100755 --- a/themes/bim.sh +++ b/themes/bim.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#a9bed8" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/cai.sh b/themes/cai.sh index e31a98a..a242f5f 100755 --- a/themes/cai.sh +++ b/themes/cai.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#d9e6f2" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/chalk.sh b/themes/chalk.sh index 80a6b72..43b5087 100755 --- a/themes/chalk.sh +++ b/themes/chalk.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#D4D4D4" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/dracula.sh b/themes/dracula.sh index d170025..95c90c0 100755 --- a/themes/dracula.sh +++ b/themes/dracula.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#94A3A5" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/elementary.sh b/themes/elementary.sh index ab55409..3976ad0 100755 --- a/themes/elementary.sh +++ b/themes/elementary.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#f2f2f2" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/elic.sh b/themes/elic.sh index ddffca9..6280c5c 100755 --- a/themes/elic.sh +++ b/themes/elic.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#f2f2f2" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/elio.sh b/themes/elio.sh index b8b7b5e..d050756 100755 --- a/themes/elio.sh +++ b/themes/elio.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#f2f2f2" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/flat.sh b/themes/flat.sh index 2b4ccb2..f81062e 100755 --- a/themes/flat.sh +++ b/themes/flat.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#1abc9c" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/freya.sh b/themes/freya.sh index e223ab3..25ac909 100755 --- a/themes/freya.sh +++ b/themes/freya.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#94a3a5" # Text CURSOR_COLOR="#839496" # Cursor # ===================== END CONFIG ======================================= # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/gruvbox.dark.sh b/themes/gruvbox.dark.sh index 9a8b267..9bd64f3 100755 --- a/themes/gruvbox.dark.sh +++ b/themes/gruvbox.dark.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#ebdbb2" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/hemisu.dark.sh b/themes/hemisu.dark.sh index 39e5a03..36fe13b 100755 --- a/themes/hemisu.dark.sh +++ b/themes/hemisu.dark.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#FFFFFF" CURSOR_COLOR="#BAFFAA" # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/hemisu.light.sh b/themes/hemisu.light.sh index 9264db8..cb8e262 100755 --- a/themes/hemisu.light.sh +++ b/themes/hemisu.light.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#444444" CURSOR_COLOR="#FF0054" # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/hybrid.sh b/themes/hybrid.sh index 327e035..f403eee 100755 --- a/themes/hybrid.sh +++ b/themes/hybrid.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#94a3a5" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/jup.sh b/themes/jup.sh index 3e07201..33de24b 100755 --- a/themes/jup.sh +++ b/themes/jup.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#23476a" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # ===================== END CONFIG ======================================= # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/mar.sh b/themes/mar.sh index 51fd4a5..aa07b89 100755 --- a/themes/mar.sh +++ b/themes/mar.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#23476a" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/material.sh b/themes/material.sh index f88f3bc..8db98c9 100755 --- a/themes/material.sh +++ b/themes/material.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#C3C7D1" CURSOR_COLOR="#657B83" # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/miu.sh b/themes/miu.sh index 83a0495..06683c2 100755 --- a/themes/miu.sh +++ b/themes/miu.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#d9e6f2" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/monokai.dark.sh b/themes/monokai.dark.sh index 11cfdda..84e43cc 100755 --- a/themes/monokai.dark.sh +++ b/themes/monokai.dark.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#f8f8f2" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/nep.sh b/themes/nep.sh index 94d2353..f9cb7cb 100755 --- a/themes/nep.sh +++ b/themes/nep.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#23476a" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/nord.light.sh b/themes/nord.light.sh index 2dcd317..b4519b2 100755 --- a/themes/nord.light.sh +++ b/themes/nord.light.sh @@ -24,9 +24,31 @@ FOREGROUND_COLOR="#004f7c" CURSOR_COLOR=$COLOR_05 # =============================================================== # -# | -# | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) + + + + + +# =============================================================== # +# | Apply Colors +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/nord.sh b/themes/nord.sh index 4aa7c6d..1670441 100755 --- a/themes/nord.sh +++ b/themes/nord.sh @@ -24,9 +24,31 @@ FOREGROUND_COLOR=$COLOR_05 CURSOR_COLOR=$COLOR_05 # =============================================================== # -# | -# | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) + + + + + +# =============================================================== # +# | Apply Colors +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/ocean.dark.sh b/themes/ocean.dark.sh index 402c268..b9d1180 100755 --- a/themes/ocean.dark.sh +++ b/themes/ocean.dark.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#979CAC" CURSOR_COLOR="#979CAC" # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/one.dark.sh b/themes/one.dark.sh index 552e772..47beb6f 100755 --- a/themes/one.dark.sh +++ b/themes/one.dark.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#5C6370" CURSOR_COLOR="#5C6370" # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/one.light.sh b/themes/one.light.sh index c0f5b9e..52e7b4b 100755 --- a/themes/one.light.sh +++ b/themes/one.light.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#2A2B32" CURSOR_COLOR="#2A2B32" # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/pali.sh b/themes/pali.sh index 66e954f..68a0f54 100755 --- a/themes/pali.sh +++ b/themes/pali.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#d9e6f2" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/peppermint.sh b/themes/peppermint.sh index 97c9efa..fa7c688 100755 --- a/themes/peppermint.sh +++ b/themes/peppermint.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#C7C7C7" CURSOR_COLOR="#BBBBBB" # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/sat.sh b/themes/sat.sh index 237ade3..ec47d80 100755 --- a/themes/sat.sh +++ b/themes/sat.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#23476a" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/shel.sh b/themes/shel.sh index 4c9cbd7..fa141fc 100755 --- a/themes/shel.sh +++ b/themes/shel.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#4882cd" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/smyck.sh b/themes/smyck.sh index a4f6704..7aeae02 100755 --- a/themes/smyck.sh +++ b/themes/smyck.sh @@ -24,9 +24,31 @@ FOREGROUND_COLOR="#F7F7F7" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | -# | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) + + + + + +# =============================================================== # +# | Apply Colors +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/solarized.dark.sh b/themes/solarized.dark.sh index 55e3b67..580fe1e 100755 --- a/themes/solarized.dark.sh +++ b/themes/solarized.dark.sh @@ -25,8 +25,31 @@ BOLD_COLOR="#93A1A1" # Bold CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/solarized.light.sh b/themes/solarized.light.sh index 32a3385..89a3247 100755 --- a/themes/solarized.light.sh +++ b/themes/solarized.light.sh @@ -25,8 +25,31 @@ BOLD_COLOR="#586E75" # Bold CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/tin.sh b/themes/tin.sh index a000b32..d694401 100755 --- a/themes/tin.sh +++ b/themes/tin.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#ffffff" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/tomorrow.night.blue.sh b/themes/tomorrow.night.blue.sh index 2461b2c..739c554 100755 --- a/themes/tomorrow.night.blue.sh +++ b/themes/tomorrow.night.blue.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#FFFEFE" CURSOR_COLOR="#FFFEFE" # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/tomorrow.night.bright.sh b/themes/tomorrow.night.bright.sh index a355fbe..6b4498f 100755 --- a/themes/tomorrow.night.bright.sh +++ b/themes/tomorrow.night.bright.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#E9E9E9" CURSOR_COLOR="#E9E9E9" # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/tomorrow.night.eighties.sh b/themes/tomorrow.night.eighties.sh index 72de5c7..73638b4 100755 --- a/themes/tomorrow.night.eighties.sh +++ b/themes/tomorrow.night.eighties.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#CCCCCC" CURSOR_COLOR="#CCCCCC" # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/tomorrow.night.sh b/themes/tomorrow.night.sh index 98023e8..6a073be 100755 --- a/themes/tomorrow.night.sh +++ b/themes/tomorrow.night.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#C5C8C6" CURSOR_COLOR="#C4C8C5" # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/tomorrow.sh b/themes/tomorrow.sh index 7fa8301..f0e72ed 100755 --- a/themes/tomorrow.sh +++ b/themes/tomorrow.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#4D4D4C" CURSOR_COLOR="#4C4C4C" # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/ura.sh b/themes/ura.sh index ade06f3..bb461f2 100755 --- a/themes/ura.sh +++ b/themes/ura.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#23476a" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi diff --git a/themes/vag.sh b/themes/vag.sh index 50c19b2..f53b5da 100755 --- a/themes/vag.sh +++ b/themes/vag.sh @@ -24,8 +24,31 @@ FOREGROUND_COLOR="#d9e6f2" # Text CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor # =============================================================== # -# | + + + + + + +# =============================================================== # # | Apply Colors -# | =========================================== -source $(cd "$(dirname "$(readlink -f "$0")")" && pwd)/../_apply-colors.sh || \ - source <(wget -O - http://git.io/vY8Qq) +# ===============================================================|# +function gogh_colors () { + echo "" + echo -e "\e[0;30m█████\\e[0m\e[0;31m█████\\e[0m\e[0;32m█████\\e[0m\e[0;33m█████\\e[0m\e[0;34m█████\\e[0m\e[0;35m█████\\e[0m\e[0;36m█████\\e[0m\e[0;37m█████\\e[0m" + echo -e "\e[0m\e[1;30m█████\\e[0m\e[1;31m█████\\e[0m\e[1;32m█████\\e[0m\e[1;33m█████\\e[0m\e[1;34m█████\\e[0m\e[1;35m█████\\e[0m\e[1;36m█████\\e[0m\e[1;37m█████\\e[0m" + echo "" +} + +SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PARENT_PATH="$(dirname "$SCRIPT_PATH")" + +if [ -e $PARENT_PATH"/apply-colors.sh" ] +then +gogh_colors +source $PARENT_PATH"/apply-colors.sh" + +else +gogh_colors +source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh) +fi