From b0bfc1a95fd2a9856e77b37fd5421cb0ce540d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20In=C3=A1cio=20Neto?= Date: Thu, 17 Sep 2020 13:26:17 -0300 Subject: [PATCH 1/5] Add Omni Theme :rocket: --- gh-pages/data/themes.js | 22 +++++++++++++++++ gogh.sh | 1 + test/print-themes.sh | 1 + themes/omni.sh | 55 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 79 insertions(+) create mode 100644 themes/omni.sh diff --git a/gh-pages/data/themes.js b/gh-pages/data/themes.js index 11dc7ce..295a17b 100644 --- a/gh-pages/data/themes.js +++ b/gh-pages/data/themes.js @@ -2683,6 +2683,28 @@ const $schemes = { "brightCyan": "#1ffaff", "brightWhite": "#5b6ea7" }, + { + "name": "Omni", + "foreground": "#ABB2BF", + "background": "#191622", + "cursorColor": "#ABB2BF", + "black": "#000000", + "red": "#E96379", + "green": "#67e480", + "yellow": "#E89E64", + "blue": "#78D1E1", + "purple": "#988BC7", + "cyan": "#FF79C6", + "white": "#ABB2BF", + "brightBlack": "#000000", + "brightRed": "#E96379", + "brightGreen": "#67e480", + "brightYellow": "#E89E64", + "brightBlue": "#78D1E1", + "brightPurple": "#988BC7", + "brightCyan": "#FF79C6", + "brightWhite": "#ffffff" + }, { "name": "One Dark", "foreground": "#5C6370", diff --git a/gogh.sh b/gogh.sh index 6a4bfed..3c69758 100755 --- a/gogh.sh +++ b/gogh.sh @@ -137,6 +137,7 @@ declare -a THEMES=( 'ocean.sh' 'oceanic-next.sh' 'ollie.sh' + 'omni' 'one-dark.sh' 'one-half-black.sh' 'one-light.sh' diff --git a/test/print-themes.sh b/test/print-themes.sh index c08f1ac..82bda87 100755 --- a/test/print-themes.sh +++ b/test/print-themes.sh @@ -140,6 +140,7 @@ declare -a THEMES=( 'ocean.sh' 'oceanic-next.sh' 'ollie.sh' + 'omni' 'one-dark.sh' 'one-half-black.sh' 'one-light.sh' diff --git a/themes/omni.sh b/themes/omni.sh new file mode 100644 index 0000000..eb09318 --- /dev/null +++ b/themes/omni.sh @@ -0,0 +1,55 @@ +#!/usr/bin/env bash + +# ====================CONFIG THIS =============================== # +export COLOR_01="#191622" # HOST +export COLOR_02="#E96379" # SYNTAX_STRING +export COLOR_03="#67e480" # COMMAND +export COLOR_04="#E89E64" # COMMAND_COLOR2 +export COLOR_05="#78D1E1" # PATH +export COLOR_06="#988BC7" # SYNTAX_VAR +export COLOR_07="#FF79C6" # PROMP +export COLOR_08="#ABB2BF" # + +export COLOR_09="#000000" # +export COLOR_10="#E96379" # COMMAND_ERROR +export COLOR_11="#67e480" # EXEC +export COLOR_12="#E89E64" # +export COLOR_13="#78D1E1" # FOLDER +export COLOR_14="#988BC7" # +export COLOR_15="#FF79C6" # +export COLOR_16="#ffffff" # + +export BACKGROUND_COLOR="#191622" # Background Color +export FOREGROUND_COLOR="#ABB2BF" # Text +export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor +export PROFILE_NAME="Omni" +# =============================================================== # + + + + + + + +# =============================================================== # +# | 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://github.com/birobirobiro/Gogh"} + + +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 From a728fd3ad5198c16cc90106333346cb684af7705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20In=C3=A1cio=20Neto?= Date: Thu, 17 Sep 2020 14:15:21 -0300 Subject: [PATCH 2/5] Add Omni Theme :rocket: --- gogh.sh | 2 +- test/print-themes.sh | 3 +-- themes/omni.sh | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gogh.sh b/gogh.sh index 3c69758..6dfe1fe 100755 --- a/gogh.sh +++ b/gogh.sh @@ -137,7 +137,7 @@ declare -a THEMES=( 'ocean.sh' 'oceanic-next.sh' 'ollie.sh' - 'omni' + 'omni.sh' 'one-dark.sh' 'one-half-black.sh' 'one-light.sh' diff --git a/test/print-themes.sh b/test/print-themes.sh index 82bda87..a5fba2a 100755 --- a/test/print-themes.sh +++ b/test/print-themes.sh @@ -140,7 +140,6 @@ declare -a THEMES=( 'ocean.sh' 'oceanic-next.sh' 'ollie.sh' - 'omni' 'one-dark.sh' 'one-half-black.sh' 'one-light.sh' @@ -208,7 +207,7 @@ declare -a THEMES=( # 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"} +BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/birobirobiro/Gogh/master/gogh.sh"} PROGRESS_URL="https://raw.githubusercontent.com/phenonymous/shell-progressbar/1.0/progress.sh" capitalize() { diff --git a/themes/omni.sh b/themes/omni.sh index eb09318..33a4557 100644 --- a/themes/omni.sh +++ b/themes/omni.sh @@ -39,7 +39,7 @@ 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://github.com/birobirobiro/Gogh"} +BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"} if [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then From 1cae0d6b5e93a2a1f8a53e5727e66ea735221198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20In=C3=A1cio=20Neto?= Date: Thu, 17 Sep 2020 14:39:35 -0300 Subject: [PATCH 3/5] Add Omni Theme :rocket: --- test/print-themes.sh | 171 +------------------------------------------ 1 file changed, 1 insertion(+), 170 deletions(-) diff --git a/test/print-themes.sh b/test/print-themes.sh index a5fba2a..4f9894b 100755 --- a/test/print-themes.sh +++ b/test/print-themes.sh @@ -33,176 +33,7 @@ color () { export -f color declare -a THEMES=( - '3024-day.sh' - '3024-night.sh' - 'aci.sh' - 'aco.sh' - 'adventuretime.sh' - 'afterglow.sh' - 'alien-blood.sh' - 'argonaut.sh' - 'arthur.sh' - 'atom.sh' - 'azu.sh' - 'belafonte-day.sh' - 'belafonte-night.sh' - 'bim.sh' - 'birds-of-paradise.sh' - 'blazer.sh' - 'bluloco-light.sh' - 'borland.sh' - 'broadcast.sh' - 'brogrammer.sh' - 'c64.sh' - 'cai.sh' - 'chalk.sh' - 'chalkboard.sh' - 'ciapre.sh' - 'clone-of-ubuntu.sh' - 'clrs.sh' - 'cobalt-neon.sh' - 'cobalt2.sh' - 'crayon-pony-fish.sh' - 'dark-pastel.sh' - 'darkside.sh' - 'desert.sh' - 'dimmed-monokai.sh' - 'dracula.sh' - 'earthsong.sh' - 'elemental.sh' - 'elementary.sh' - 'elic.sh' - 'elio.sh' - 'espresso-libre.sh' - 'espresso.sh' - 'fishtank.sh' - 'flat.sh' - 'flatland.sh' - 'foxnightly.sh' - 'freya.sh' - 'frontend-delight.sh' - 'frontend-fun-forrest.sh' - 'frontend-galaxy.sh' - 'github.sh' - 'geohot.sh' - 'gooey.sh' - 'google-dark.sh' - 'google-light.sh' - 'grape.sh' - 'grass.sh' - 'gruvbox-dark.sh' - 'gruvbox.sh' - 'hardcore.sh' - 'harper.sh' - 'hemisu-dark.sh' - 'hemisu-light.sh' - 'highway.sh' - 'hipster-green.sh' - 'homebrew.sh' - 'hurtado.sh' - 'hybrid.sh' - 'ic-green-ppl.sh' - 'ic-orange-ppl.sh' - 'idle-toes.sh' - 'ir-black.sh' - 'jackie-brown.sh' - 'japanesque.sh' - 'jellybeans.sh' - 'jup.sh' - 'kibble.sh' - 'later-this-evening.sh' - 'lavandula.sh' - 'liquid-carbon-transparent.sh' - 'liquid-carbon.sh' - 'man-page.sh' - 'mar.sh' - 'material.sh' - 'mathias.sh' - 'medallion.sh' - 'misterioso.sh' - 'miu.sh' - 'molokai.sh' - 'mona-lisa.sh' - 'monokai-dark.sh' - 'monokai-soda.sh' - 'n0tch2k.sh' - 'neopolitan.sh' - 'nep.sh' - 'neutron.sh' - 'nightlion-v1.sh' - 'nightlion-v2.sh' - 'nighty.sh' - 'nord-light.sh' - 'nord.sh' - 'novel.sh' - 'obsidian.sh' - 'ocean-dark.sh' - 'ocean.sh' - 'oceanic-next.sh' - 'ollie.sh' - 'one-dark.sh' - 'one-half-black.sh' - 'one-light.sh' - 'pali.sh' - 'paraiso-dark.sh' - 'paul-millr.sh' - 'pencil-dark.sh' - 'pencil-light.sh' - 'peppermint.sh' - 'pnevma.sh' - 'pro.sh' - 'red-alert.sh' - 'red-sands.sh' - 'rippedcasts.sh' - 'royal.sh' - 'sat.sh' - 'sea-shells.sh' - 'seafoam-pastel.sh' - 'seti.sh' - 'shaman.sh' - 'shel.sh' - 'slate.sh' - 'smyck.sh' - 'snazzy.sh' - 'soft-server.sh' - 'solarized-darcula.sh' - 'solarized-dark-higher-contrast.sh' - 'solarized-dark.sh' - 'solarized-light.sh' - 'spacedust.sh' - 'spacegray-eighties-dull.sh' - 'spacegray-eighties.sh' - 'spacegray.sh' - 'spring.sh' - 'square.sh' - 'srcery.sh' - 'sundried.sh' - 'symphonic.sh' - 'teerb.sh' - 'terminal-basic.sh' - 'terminix-dark.sh' - 'thayer-bright.sh' - 'tin.sh' - 'tomorrow-night-blue.sh' - 'tomorrow-night-bright.sh' - 'tomorrow-night-eighties.sh' - 'tomorrow-night.sh' - 'tomorrow.sh' - 'toy-chest.sh' - 'treehouse.sh' - 'twilight.sh' - 'ura.sh' - 'urple.sh' - 'vag.sh' - 'vaughn.sh' - 'vibrant-ink.sh' - 'warm-neon.sh' - 'wez.sh' - 'wild-cherry.sh' - 'wombat.sh' - 'wryan.sh' - 'wzoreck.sh' - 'zenburn.sh' + 'omni.sh' ) # Allow developer to change url to forked url for easier testing From d86cd3d93b63cea19b7ce40fdcff411cf6902e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20In=C3=A1cio=20Neto?= Date: Thu, 17 Sep 2020 14:39:56 -0300 Subject: [PATCH 4/5] Add Omni Theme :rocket: --- test/print-themes.sh | 170 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) diff --git a/test/print-themes.sh b/test/print-themes.sh index 4f9894b..3c3081c 100755 --- a/test/print-themes.sh +++ b/test/print-themes.sh @@ -33,7 +33,177 @@ color () { export -f color declare -a THEMES=( + '3024-day.sh' + '3024-night.sh' + 'aci.sh' + 'aco.sh' + 'adventuretime.sh' + 'afterglow.sh' + 'alien-blood.sh' + 'argonaut.sh' + 'arthur.sh' + 'atom.sh' + 'azu.sh' + 'belafonte-day.sh' + 'belafonte-night.sh' + 'bim.sh' + 'birds-of-paradise.sh' + 'blazer.sh' + 'bluloco-light.sh' + 'borland.sh' + 'broadcast.sh' + 'brogrammer.sh' + 'c64.sh' + 'cai.sh' + 'chalk.sh' + 'chalkboard.sh' + 'ciapre.sh' + 'clone-of-ubuntu.sh' + 'clrs.sh' + 'cobalt-neon.sh' + 'cobalt2.sh' + 'crayon-pony-fish.sh' + 'dark-pastel.sh' + 'darkside.sh' + 'desert.sh' + 'dimmed-monokai.sh' + 'dracula.sh' + 'earthsong.sh' + 'elemental.sh' + 'elementary.sh' + 'elic.sh' + 'elio.sh' + 'espresso-libre.sh' + 'espresso.sh' + 'fishtank.sh' + 'flat.sh' + 'flatland.sh' + 'foxnightly.sh' + 'freya.sh' + 'frontend-delight.sh' + 'frontend-fun-forrest.sh' + 'frontend-galaxy.sh' + 'github.sh' + 'geohot.sh' + 'gooey.sh' + 'google-dark.sh' + 'google-light.sh' + 'grape.sh' + 'grass.sh' + 'gruvbox-dark.sh' + 'gruvbox.sh' + 'hardcore.sh' + 'harper.sh' + 'hemisu-dark.sh' + 'hemisu-light.sh' + 'highway.sh' + 'hipster-green.sh' + 'homebrew.sh' + 'hurtado.sh' + 'hybrid.sh' + 'ic-green-ppl.sh' + 'ic-orange-ppl.sh' + 'idle-toes.sh' + 'ir-black.sh' + 'jackie-brown.sh' + 'japanesque.sh' + 'jellybeans.sh' + 'jup.sh' + 'kibble.sh' + 'later-this-evening.sh' + 'lavandula.sh' + 'liquid-carbon-transparent.sh' + 'liquid-carbon.sh' + 'man-page.sh' + 'mar.sh' + 'material.sh' + 'mathias.sh' + 'medallion.sh' + 'misterioso.sh' + 'miu.sh' + 'molokai.sh' + 'mona-lisa.sh' + 'monokai-dark.sh' + 'monokai-soda.sh' + 'n0tch2k.sh' + 'neopolitan.sh' + 'nep.sh' + 'neutron.sh' + 'nightlion-v1.sh' + 'nightlion-v2.sh' + 'nighty.sh' + 'nord-light.sh' + 'nord.sh' + 'novel.sh' + 'obsidian.sh' + 'ocean-dark.sh' + 'ocean.sh' + 'oceanic-next.sh' + 'ollie.sh' 'omni.sh' + 'one-dark.sh' + 'one-half-black.sh' + 'one-light.sh' + 'pali.sh' + 'paraiso-dark.sh' + 'paul-millr.sh' + 'pencil-dark.sh' + 'pencil-light.sh' + 'peppermint.sh' + 'pnevma.sh' + 'pro.sh' + 'red-alert.sh' + 'red-sands.sh' + 'rippedcasts.sh' + 'royal.sh' + 'sat.sh' + 'sea-shells.sh' + 'seafoam-pastel.sh' + 'seti.sh' + 'shaman.sh' + 'shel.sh' + 'slate.sh' + 'smyck.sh' + 'snazzy.sh' + 'soft-server.sh' + 'solarized-darcula.sh' + 'solarized-dark-higher-contrast.sh' + 'solarized-dark.sh' + 'solarized-light.sh' + 'spacedust.sh' + 'spacegray-eighties-dull.sh' + 'spacegray-eighties.sh' + 'spacegray.sh' + 'spring.sh' + 'square.sh' + 'srcery.sh' + 'sundried.sh' + 'symphonic.sh' + 'teerb.sh' + 'terminal-basic.sh' + 'terminix-dark.sh' + 'thayer-bright.sh' + 'tin.sh' + 'tomorrow-night-blue.sh' + 'tomorrow-night-bright.sh' + 'tomorrow-night-eighties.sh' + 'tomorrow-night.sh' + 'tomorrow.sh' + 'toy-chest.sh' + 'treehouse.sh' + 'twilight.sh' + 'ura.sh' + 'urple.sh' + 'vag.sh' + 'vaughn.sh' + 'vibrant-ink.sh' + 'warm-neon.sh' + 'wez.sh' + 'wild-cherry.sh' + 'wombat.sh' + 'wryan.sh' + 'wzoreck.sh' + 'zenburn.sh' ) # Allow developer to change url to forked url for easier testing From 683c558d8eade8a4e6b9764726243ddf57f9acd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20In=C3=A1cio=20Neto?= Date: Thu, 17 Sep 2020 14:48:34 -0300 Subject: [PATCH 5/5] Add Omni Theme :rocket: --- test/print-themes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/print-themes.sh b/test/print-themes.sh index 3c3081c..310e467 100755 --- a/test/print-themes.sh +++ b/test/print-themes.sh @@ -208,7 +208,7 @@ declare -a THEMES=( # 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/birobirobiro/Gogh/master/gogh.sh"} +BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"} PROGRESS_URL="https://raw.githubusercontent.com/phenonymous/shell-progressbar/1.0/progress.sh" capitalize() {