mirror of
https://github.com/Mayccoll/Gogh.git
synced 2023-08-10 21:12:46 +03:00
"add theme (GeoHot)"
This commit is contained in:
parent
f4edec3fc6
commit
23c4f38252
0
apply-colors.sh
Normal file → Executable file
0
apply-colors.sh
Normal file → Executable file
1
gogh.sh
1
gogh.sh
@ -69,6 +69,7 @@ declare -a THEMES=(
|
||||
'frontend-fun-forrest.sh'
|
||||
'frontend-galaxy.sh'
|
||||
'github.sh'
|
||||
'geohot.sh'
|
||||
'gooey.sh'
|
||||
'google-dark.sh'
|
||||
'google-light.sh'
|
||||
|
@ -82,8 +82,9 @@ declare -a THEMES=(
|
||||
'freya.sh'
|
||||
'frontend-delight.sh'
|
||||
'frontend-fun-forrest.sh'
|
||||
'frontend-galaxy.sh'
|
||||
'frontend-gal:axy.sh'
|
||||
'github.sh'
|
||||
'geohot.sh'
|
||||
'gooey.sh'
|
||||
'google-dark.sh'
|
||||
'google-light.sh'
|
||||
|
48
themes/geohot.sh
Normal file
48
themes/geohot.sh
Normal file
@ -0,0 +1,48 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#==================== CONFIG THIS ======================#
|
||||
export COLOR_01='#F9F5F5' # HOST :: WHITE
|
||||
export COLOR_02='#CC0000' # SYNTAX_STRING :: RED
|
||||
export COLOR_03='#1F1E1F' # COMMAND :: BLACK
|
||||
export COLOR_04='#ADA110' # COMMAND_COLOR2:: YELLOW
|
||||
export COLOR_05='#FF004E' # PATH :: PINK
|
||||
export COLOR_06='#75507B' # SYNTAX_VAR :: PURPLE
|
||||
export COLOR_07='#06919A' # PROMP :: BLUE
|
||||
export COLOR_08='#FFFFFF' # :: CREAM WHITE
|
||||
|
||||
export COLOR_09='#555753' # :: DARK GREY
|
||||
export COLOR_10='#EF2929' # COMMAND_ERROR :: RED
|
||||
export COLOR_11='#FF0000' # EXEC :: RED
|
||||
export COLOR_12='#ADA110' # :: YELLOW
|
||||
export COLOR_13='#5F4AA6' # FOLDER :: PURPLE
|
||||
export COLOR_14='#B74438' # :: DARK RED
|
||||
export COLOR_15='#408F0C' # :: GREEN
|
||||
export COLOR_16='#FFFFFF' # :: WHITE
|
||||
|
||||
export BACKGROUND_COLOR='#1F1E1F' #BACKGROUND COLOR :: GREYGEO
|
||||
export FOREGROUND_COLOR='#FFFFFF' #FOREGROUND COLOR (TEXT) :: WHITE
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" #CURSORT COLOR
|
||||
export PROFILE_NAME="GeoHot"
|
||||
#==================== CONFIG THIS ======================#
|
||||
|
||||
#=======================================================#
|
||||
# | APPLY COLOR |
|
||||
#=======================================================#
|
||||
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
|
Loading…
Reference in New Issue
Block a user