-
Notifications
You must be signed in to change notification settings - Fork 596
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions[bot]
committed
May 27, 2024
1 parent
069f792
commit 12fccbc
Showing
4 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/usr/bin/env bash | ||
|
||
export PROFILE_NAME="Iceberg" | ||
|
||
export COLOR_01="#161821" # Black (Host) | ||
export COLOR_02="#e27878" # Red (Syntax string) | ||
export COLOR_03="#b4be82" # Green (Command) | ||
export COLOR_04="#e2a478" # Yellow (Command second) | ||
export COLOR_05="#84a0c6" # Blue (Path) | ||
export COLOR_06="#a093c7" # Magenta (Syntax var) | ||
export COLOR_07="#89b8c2" # Cyan (Prompt) | ||
export COLOR_08="#c6c8d1" # White | ||
|
||
export COLOR_09="#6b7089" # Bright Black | ||
export COLOR_10="#e98989" # Bright Red (Command error) | ||
export COLOR_11="#c0ca8e" # Bright Green (Exec) | ||
export COLOR_12="#e9b189" # Bright Yellow | ||
export COLOR_13="#91acd1" # Bright Blue (Folder) | ||
export COLOR_14="#ada0d3" # Bright Magenta | ||
export COLOR_15="#95c4ce" # Bright Cyan | ||
export COLOR_16="#d2d4de" # Bright White | ||
|
||
export BACKGROUND_COLOR="#161821" # Background | ||
export FOREGROUND_COLOR="#c6c8d1" # Foreground (Text) | ||
|
||
export CURSOR_COLOR="#d2d4de" # Cursor | ||
|
||
# | =========================================================================== | ||
# | 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"color_01": "#161821", "color_02": "#e27878", "color_03": "#b4be82", "color_04": "#e2a478", "color_05": "#84a0c6", "color_06": "#a093c7", "color_07": "#89b8c2", "color_08": "#c6c8d1", "color_09": "#6b7089", "color_10": "#e98989", "color_11": "#c0ca8e", "color_12": "#e9b189", "color_13": "#91acd1", "color_14": "#ada0d3", "color_15": "#95c4ce", "color_16": "#d2d4de", "name": "Iceberg", "foreground": "#c6c8d1", "background": "#161821", "cursor": "#d2d4de", "hash": "01f4ba5dc15e03afef2e2021a22c9bde1a76947cf258b029d00f3499283f01c0"} |