1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Add Omni Theme 🚀

This commit is contained in:
João Inácio Neto 2020-09-17 13:26:17 -03:00
parent 9376b8f1e9
commit b0bfc1a95f
4 changed files with 79 additions and 0 deletions

View File

@ -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",

View File

@ -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'

View File

@ -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'

55
themes/omni.sh Normal file
View File

@ -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