Compare commits

...

5 Commits

Author SHA1 Message Date
github-actions[bot] a4ee7e456a ------- Generate themes.json ------- 2023-02-16 22:54:13 +00:00
Mgldvd 52b15f6f10 Merge branch 'master' of https://github.com/Gogh-Co/Gogh 2023-02-16 22:53:04 +00:00
Mgldvd 9b8dc3fc2a Added Predawn Theme 2023-02-16 22:53:02 +00:00
Mgldvd 1c4d86ea4b
Merge pull request #369 from ahamd3v/master
Added Predawn Theme
2023-02-16 17:51:12 -05:00
aham 4bc3744954 Added Predawn Theme 2023-02-16 15:51:01 +05:30
3 changed files with 56 additions and 0 deletions

Binary file not shown.

View File

@ -187,6 +187,7 @@ declare -a THEMES=(
'pixiefloss.sh'
'pnevma.sh'
'powershell.sh'
'predawn.sh'
'pro.sh'
'purple-people-eater.sh'
'red-alert.sh'

55
themes/predawn.sh Normal file
View File

@ -0,0 +1,55 @@
#!/usr/bin/env bash
# ====================CONFIG THIS =============================== #
export COLOR_01="#F18260" # HOST
export COLOR_02="#b51a20" # SYNTAX_STRING
export COLOR_03="#a6cc75" # COMMAND
export COLOR_04="#fed33a" # COMMAND_COLOR2
export COLOR_05="#81b2b1" # PATH
export COLOR_06="#eb6c4e" # SYNTAX_VAR
export COLOR_07="#81b2b1" # PROMP
export COLOR_08="#eaeaea" #
export COLOR_09="#666666" #
export COLOR_10="#ff000b" # COMMAND_ERROR
export COLOR_11="#c4ee94" # EXEC
export COLOR_12="#e8e06d" #
export COLOR_13="#a5ebea" # FOLDER
export COLOR_14="#ef8a50" #
export COLOR_15="#a5ebea" #
export COLOR_16="#ffffff" #
export BACKGROUND_COLOR="#282828" # Background Color
export FOREGROUND_COLOR="#F1F1F1" # Text
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor
export PROFILE_NAME="Predawn"
# =============================================================== #
# =============================================================== #
# | 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/Gogh-Co/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