mirror of
https://github.com/Mayccoll/Gogh.git
synced 2023-08-10 21:12:46 +03:00
Compare commits
34 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eeba3896dc | ||
|
|
969bd3188b | ||
|
|
38f73d92ac | ||
|
|
dc1f778c0a | ||
|
|
97427f16ea | ||
|
|
2c6e5898db | ||
|
|
389f831bf0 | ||
|
|
02ab3ff458 | ||
|
|
ed3d2e0e9d | ||
|
|
0be37a3a8e | ||
|
|
1cb477d521 | ||
|
|
6609d329af | ||
|
|
3d9ab11f5a | ||
|
|
ad92815bd6 | ||
|
|
3669737386 | ||
|
|
5d4c58b2c3 | ||
|
|
673a98d53f | ||
|
|
75d6c13157 | ||
|
|
0d155a3a59 | ||
|
|
43df3054c8 | ||
|
|
9b365f4c6b | ||
|
|
29c2fd5088 | ||
|
|
f90dad51c3 | ||
|
|
8332969b10 | ||
|
|
3de6d70c35 | ||
|
|
10eb1487ee | ||
|
|
769b681828 | ||
|
|
6f877c9031 | ||
|
|
27900c1a64 | ||
|
|
8f6f58602f | ||
|
|
2f3a0b57c5 | ||
|
|
7866f8c1d9 | ||
|
|
e7e4780f54 | ||
|
|
851f840380 |
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
data/themes.json binary
|
||||
23
README.md
23
README.md
@@ -9,7 +9,7 @@ Gogh
|
||||
:small_blue_diamond: <a href="http://mayccoll.github.io/Gogh"> Visit the Website </a> :small_blue_diamond:
|
||||
</div>
|
||||
|
||||
## Color Scheme for Gnome Terminal, Pantheon Terminal, Tilix, and XFCE4 Terminal
|
||||
## Color scheme for your terminal
|
||||
|
||||
Color Schemes For Ubuntu, Linux Mint, Elementary OS and all distributions that use Gnome Terminal, Pantheon Terminal, Tilix, or XFCE4 Terminal; initially inspired by Elementary OS Luna. Also works on iTerm for macOS. You can check out the themes [here](https://mayccoll.github.io/Gogh/).
|
||||
|
||||
@@ -17,8 +17,19 @@ Color Schemes For Ubuntu, Linux Mint, Elementary OS and all distributions that u
|
||||
|
||||
----
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
## 💻 Terminals
|
||||
|
||||
- Gnome - [Web](https://help.gnome.org/users/gnome-terminal/stable/)
|
||||
- Mintty - [Web](https://mintty.github.io/)
|
||||
- Mate - [Web](https://github.com/mate-desktop/mate-terminal)
|
||||
- Pantheon / Elementary - [Web](https://github.com/elementary/terminal)
|
||||
- Tilix - [Web](https://gnunn1.github.io/tilix-web/)
|
||||
- XFCE4 - [Web](https://docs.xfce.org/apps/terminal/start)
|
||||
- iTerm - [Web](https://iterm2.com/)
|
||||
- Cygwin - [Web](https://www.cygwin.com/)
|
||||
- Guake - [Web](https://sw.kovidgoyal.net/kitty/)
|
||||
- Foot - [Web](https://codeberg.org/dnkl/foot)
|
||||
- Kitty - [Web](https://sw.kovidgoyal.net/kitty/)
|
||||
|
||||
## ⚙️ Pre-Install
|
||||
|
||||
@@ -148,6 +159,11 @@ There is no blue without yellow and without orange.
|
||||
## Author
|
||||
|
||||
- Miguel D. Quintero - [Lanet.co](https://lanet.co)
|
||||
<form action="https://www.paypal.com/donate" method="post" target="_top">
|
||||
<input type="hidden" name="hosted_button_id" value="UCTBRYLUVKQ32" />
|
||||
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
|
||||
<img alt="" border="0" src="https://www.paypal.com/en_CO/i/scr/pixel.gif" width="1" height="1" />
|
||||
</form>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
@@ -155,6 +171,7 @@ There is no blue without yellow and without orange.
|
||||
|
||||
## Mentions
|
||||
|
||||
- [VSCode Theme](https://marketplace.visualstudio.com/items?itemName=Avetis.gogh-theme)
|
||||
- [Awesome-Shell](https://github.com/alebcay/awesome-shell)
|
||||
- [Hipertextual](https://hipertextual.com/archivo/2014/11/4bit/)
|
||||
- [MuyLinux](https://www.muylinux.com/2015/06/06/ping-91)
|
||||
|
||||
@@ -57,6 +57,8 @@ if [[ -z "${TERMINAL:-}" ]]; then
|
||||
TERMINAL=$TERM_PROGRAM
|
||||
elif [[ "${OS#CYGWIN}" != "${OS}" ]]; then
|
||||
TERMINAL="mintty"
|
||||
elif [[ "$TERM" = "xterm-kitty" ]]; then
|
||||
TERMINAL="kitty"
|
||||
else
|
||||
# |
|
||||
# | Depending on how the script was invoked, we need
|
||||
@@ -118,6 +120,16 @@ case "${TERMINAL}" in
|
||||
fi
|
||||
;;
|
||||
|
||||
kitty )
|
||||
if [[ -z "${KITTY_CONFIG_DIRECTORY:-}" ]]; then
|
||||
KITTY_CONFIG_DIRECTORY="${HOME}/.config/kitty"
|
||||
fi
|
||||
CFGFILE="${KITTY_CONFIG_DIRECTORY}/kitty.conf"
|
||||
if [[ ! -f "${CFGFILE}" ]]; then
|
||||
printf '\n%s\n' "Error: Couldn't find an existing configuration file for Kitty."
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -476,6 +488,58 @@ apply_foot() {
|
||||
|
||||
}
|
||||
|
||||
apply_kitty() {
|
||||
# |
|
||||
# | Applying values on Kitty
|
||||
# | ===========================================
|
||||
|
||||
echo "Patching kitty configuration file ($CFGFILE) with include of color theme file..."
|
||||
|
||||
COLOR_FILE="colors.conf"
|
||||
|
||||
if ! grep -q "^include $COLOR_FILE$" "$CFGFILE" ; then
|
||||
echo "" >> "$CFGFILE"
|
||||
echo "# Added by Gogh" >> "$CFGFILE"
|
||||
echo "include $COLOR_FILE" >> "$CFGFILE"
|
||||
fi
|
||||
|
||||
CFGFILE="${KITTY_CONFIG_DIRECTORY}/$COLOR_FILE"
|
||||
|
||||
echo "Updating color theme file ($CFGFILE) with theme..."
|
||||
|
||||
rm -f "$CFGFILE"
|
||||
|
||||
echo "# Color theme: $PROFILE_NAME" >> "$CFGFILE"
|
||||
echo "# Auto-generated by Gogh (https://mayccoll.github.io/Gogh/)" >> "$CFGFILE"
|
||||
echo "" >> "$CFGFILE"
|
||||
echo "color0 $COLOR_01" >> "$CFGFILE"
|
||||
echo "color1 $COLOR_02" >> "$CFGFILE"
|
||||
echo "color2 $COLOR_03" >> "$CFGFILE"
|
||||
echo "color3 $COLOR_04" >> "$CFGFILE"
|
||||
echo "color4 $COLOR_05" >> "$CFGFILE"
|
||||
echo "color5 $COLOR_06" >> "$CFGFILE"
|
||||
echo "color6 $COLOR_07" >> "$CFGFILE"
|
||||
echo "color7 $COLOR_08" >> "$CFGFILE"
|
||||
echo "color8 $COLOR_09" >> "$CFGFILE"
|
||||
echo "color9 $COLOR_10" >> "$CFGFILE"
|
||||
echo "color10 $COLOR_11" >> "$CFGFILE"
|
||||
echo "color11 $COLOR_12" >> "$CFGFILE"
|
||||
echo "color12 $COLOR_13" >> "$CFGFILE"
|
||||
echo "color13 $COLOR_14" >> "$CFGFILE"
|
||||
echo "color14 $COLOR_15" >> "$CFGFILE"
|
||||
echo "color15 $COLOR_16" >> "$CFGFILE"
|
||||
|
||||
echo "background $BACKGROUND_COLOR" >> "$CFGFILE"
|
||||
echo "foreground $FOREGROUND_COLOR" >> "$CFGFILE"
|
||||
|
||||
[ -n "$HIGHLIGHT_FG_COLOR" ] && echo "selection_foreground $HIGHLIGHT_FG_COLOR" >> "$CFGFILE"
|
||||
[ -n "$HIGHLIGHT_BG_COLOR" ] && echo "selection_background $HIGHLIGHT_BG_COLOR" >> "$CFGFILE"
|
||||
|
||||
echo "cursor $CURSOR_COLOR" >> "$CFGFILE"
|
||||
|
||||
echo "Done - please reopen your kitty terminal to see the changes"
|
||||
}
|
||||
|
||||
apply_darwin() {
|
||||
# |
|
||||
# | Applying values on iTerm2
|
||||
@@ -701,7 +765,7 @@ apply_xfce4-terminal() {
|
||||
else
|
||||
echo "${L_COLORPALETTE}" >> "${CONFFILE}"
|
||||
fi
|
||||
|
||||
|
||||
if grep -q "^ColorCursor=" "${CONFFILE}"; then
|
||||
sed -i -r -e "s/^ColorCursor=.*/${L_COLORCURSOR}/" "${CONFFILE}"
|
||||
else
|
||||
@@ -830,6 +894,10 @@ case "${TERMINAL}" in
|
||||
apply_foot
|
||||
;;
|
||||
|
||||
kitty )
|
||||
apply_kitty
|
||||
;;
|
||||
|
||||
* )
|
||||
printf '%s\n' \
|
||||
"Unsupported terminal!" \
|
||||
@@ -844,6 +912,7 @@ case "${TERMINAL}" in
|
||||
" tilix" \
|
||||
" xfce4-terminal" \
|
||||
" foot" \
|
||||
" kitty" \
|
||||
"" \
|
||||
"If you believe you have recieved this message in error," \
|
||||
"try manually setting \`TERMINAL', hint: ps -h -o comm -p \$PPID"
|
||||
|
||||
@@ -15,7 +15,7 @@ Please feel free to use and create your own color schemes.
|
||||
|
||||
- **The Script**
|
||||
|
||||
https://github.com/Mayccoll/Gogh/blob/master/themes/_base.sh
|
||||
https://github.com/Mayccoll/Gogh/blob/master/_base.sh
|
||||
|
||||
- **Variables**
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
9
gogh.sh
9
gogh.sh
@@ -24,6 +24,7 @@ declare -a THEMES=(
|
||||
'argonaut.sh'
|
||||
'arthur.sh'
|
||||
'atom.sh'
|
||||
'aura.sh'
|
||||
'ayu-dark.sh'
|
||||
'ayu-light.sh'
|
||||
'ayu-mirage.sh'
|
||||
@@ -34,6 +35,7 @@ declare -a THEMES=(
|
||||
'birds-of-paradise.sh'
|
||||
'blazer.sh'
|
||||
'bluloco-light.sh'
|
||||
'bluloco-zsh-light.sh'
|
||||
'borland.sh'
|
||||
'broadcast.sh'
|
||||
'brogrammer.sh'
|
||||
@@ -76,6 +78,7 @@ declare -a THEMES=(
|
||||
'frontend-galaxy.sh'
|
||||
'geohot.sh'
|
||||
'github.sh'
|
||||
'gogh.sh'
|
||||
'gooey.sh'
|
||||
'google-dark.sh'
|
||||
'google-light.sh'
|
||||
@@ -133,6 +136,7 @@ declare -a THEMES=(
|
||||
'mono-yellow.sh'
|
||||
'monokai-dark.sh'
|
||||
'monokai-pro.sh'
|
||||
'monokai-pro-ristretto.sh'
|
||||
'monokai-soda.sh'
|
||||
'morada.sh'
|
||||
'n0tch2k.sh'
|
||||
@@ -200,10 +204,11 @@ declare -a THEMES=(
|
||||
'summer-pop.sh'
|
||||
'sundried.sh'
|
||||
'sweet-eliverlara.sh'
|
||||
'sweet.sh'
|
||||
'sweet-terminal.sh'
|
||||
'symphonic.sh'
|
||||
'synthwave.sh'
|
||||
'teerb.sh'
|
||||
'tender.sh'
|
||||
'terminal-basic.sh'
|
||||
'terminix-dark.sh'
|
||||
'thayer-bright.sh'
|
||||
@@ -365,6 +370,8 @@ if [[ -z "${TERMINAL:-}" ]]; then
|
||||
TERMINAL=$TERM_PROGRAM
|
||||
elif [[ "${OS#CYGWIN}" != "${OS}" ]]; then
|
||||
TERMINAL="mintty"
|
||||
elif [[ "$TERM" = "xterm-kitty" ]]; then
|
||||
TERMINAL="kitty"
|
||||
else
|
||||
# |
|
||||
# | Depending on how the script was invoked, we need
|
||||
|
||||
25
gogh.yml
Normal file
25
gogh.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
name: Gogh
|
||||
|
||||
color-01: "#243342" # Black (Host)
|
||||
color-02: "#c54133" # Red (Syntax string)
|
||||
color-03: "#27ae60" # Green (Command)
|
||||
color-04: "#edb20a" # Yellow (Command second)
|
||||
color-05: "#2479d0" # Blue (Path)
|
||||
color-06: "#7d3ea0" # Magenta (Syntax var)
|
||||
color-07: "#1d8579" # Cyan (Promp)
|
||||
color-08: "#c9cccd" # Light Gray
|
||||
|
||||
color-09: "#34495E" # Dark Gray
|
||||
color-10: "#E74C3C" # Light Red (Command error)
|
||||
color-11: "#2ECC71" # Light Green (Exec)
|
||||
color-12: "#F1C40F" # Light Yellow
|
||||
color-13: "#3498DB" # Light Blue (Folder)
|
||||
color-14: "#9B59B6" # Light Magenta
|
||||
color-15: "#2AA198" # Light Cyan
|
||||
color-16: "#ECF0F1" # White
|
||||
|
||||
background: "#0D1926" # Background Color
|
||||
foreground: "#ECF0F1" # Foreground Color (Text)
|
||||
|
||||
cursor: "#edb20a" # Cursor
|
||||
@@ -1,6 +0,0 @@
|
||||
|
||||

|
||||
|
||||
## Themes:
|
||||
|
||||
[Go to theme page :link:](http://mayccoll.github.io/Gogh/)
|
||||
55
themes/aura.sh
Executable file
55
themes/aura.sh
Executable file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#110f18" # Black
|
||||
export COLOR_02="#ff6767" # Red
|
||||
export COLOR_03="#61ffca" # Green
|
||||
export COLOR_04="#ffca85" # Yellow
|
||||
export COLOR_05="#a277ff" # Blue
|
||||
export COLOR_06="#a277ff" # Magenta
|
||||
export COLOR_07="#61ffca" # Cyan
|
||||
export COLOR_08="#edecee" # Light gray
|
||||
|
||||
export COLOR_09="#6d6d6d" # Dark gray
|
||||
export COLOR_10="#ffca85" # Light Red
|
||||
export COLOR_11="#a277ff" # Light Green
|
||||
export COLOR_12="#ffca85" # Light Yellow
|
||||
export COLOR_13="#a277ff" # Light Blue
|
||||
export COLOR_14="#a277ff" # Light Magenta
|
||||
export COLOR_15="#61ffca" # Light Cyan
|
||||
export COLOR_16="#edecee" # White
|
||||
|
||||
export BACKGROUND_COLOR="#15141B" # Background Color
|
||||
export FOREGROUND_COLOR="#edecee" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="Aura"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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/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
|
||||
55
themes/bluloco-zsh-light.sh
Executable file
55
themes/bluloco-zsh-light.sh
Executable file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#e4e5f1" # Black
|
||||
export COLOR_02="#d52753" # Red
|
||||
export COLOR_03="#23974a" # Green
|
||||
export COLOR_04="#df631c" # Yellow
|
||||
export COLOR_05="#275fe4" # Blue
|
||||
export COLOR_06="#823ff1" # Magenta
|
||||
export COLOR_07="#27618d" # Cyan
|
||||
export COLOR_08="#000000" # Light gray
|
||||
|
||||
export COLOR_09="#5794de" # Dark gray
|
||||
export COLOR_10="#ff6480" # Light Red
|
||||
export COLOR_11="#3cbc66" # Light Green
|
||||
export COLOR_12="#c5a332" # Light Yellow
|
||||
export COLOR_13="#0099e1" # Light Blue
|
||||
export COLOR_14="#ce33c0" # Light Magenta
|
||||
export COLOR_15="#6d93bb" # Light Cyan
|
||||
export COLOR_16="#26272d" # White
|
||||
|
||||
export BACKGROUND_COLOR="#f9f9f9" # Background Color
|
||||
export FOREGROUND_COLOR="#383a42" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="Bluloco Zsh Light"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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/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
|
||||
@@ -3,11 +3,11 @@
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#292D3E" # Black
|
||||
export COLOR_02="#F07178" # Red
|
||||
export COLOR_03="#C3E88D" # Green
|
||||
export COLOR_03="#62DE84" # Green
|
||||
export COLOR_04="#FFCB6B" # Yellow
|
||||
export COLOR_05="#82AAFF" # Blue
|
||||
export COLOR_06="#C792EA" # Magenta
|
||||
export COLOR_07="#60ADEC" # Cyan
|
||||
export COLOR_05="#75A1FF" # Blue
|
||||
export COLOR_06="#F580FF" # Magenta
|
||||
export COLOR_07="#60BAEC" # Cyan
|
||||
export COLOR_08="#ABB2BF" # Light gray
|
||||
|
||||
export COLOR_09="#959DCB" # Dark gray
|
||||
@@ -22,7 +22,7 @@ export COLOR_16="#FFFEFE" # White
|
||||
export BACKGROUND_COLOR="#292D3E" # Background Color
|
||||
export FOREGROUND_COLOR="#BFC7D5" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="_bash"
|
||||
export PROFILE_NAME="Gogh"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
55
themes/monokai-pro-ristretto.sh
Executable file
55
themes/monokai-pro-ristretto.sh
Executable file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#3E3838" # HOST, Black
|
||||
export COLOR_02="#DF7484" # SYNTAX_STRING, Red
|
||||
export COLOR_03="#BBD87E" # COMMAND, Green
|
||||
export COLOR_04="#EDCE73" # COMMAND_COLOR2, Yellow
|
||||
export COLOR_05="#DC9373" # PATH, Magenta
|
||||
export COLOR_06="#A9AAE9" # SYNTAX_VAR, Blue
|
||||
export COLOR_07="#A4D7CC" # PROMP, Cyan
|
||||
export COLOR_08="#FBF2F3" # White
|
||||
|
||||
export COLOR_09="#70696A" # Bright Black
|
||||
export COLOR_10="#DF7484" # COMMAND_ERROR, Bright Red
|
||||
export COLOR_11="#BBD87E" # EXEC, Bright Green
|
||||
export COLOR_12="#EDCE73" # Bright Yellow
|
||||
export COLOR_13="#DC9373" # FOLDER, Magenta
|
||||
export COLOR_14="#A9AAE9" # Bright Bright Blue
|
||||
export COLOR_15="#A4D7CC" # Bright Cyan
|
||||
export COLOR_16="#FBF2F3" # Bright White
|
||||
|
||||
export BACKGROUND_COLOR="#3E3838" # Background Color
|
||||
export FOREGROUND_COLOR="#FBF2F3" # Text
|
||||
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor
|
||||
export PROFILE_NAME="Monokai Pro Ristretto"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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/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
|
||||
@@ -1,16 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#353535" #black
|
||||
export COLOR_01="#003B4E" #black
|
||||
export COLOR_02="#E64569" #red
|
||||
export COLOR_03="#89D287" #green
|
||||
export COLOR_03="#069F5F" #green
|
||||
export COLOR_04="#DAB752" #yellow
|
||||
export COLOR_05="#439ECF" #blue
|
||||
export COLOR_06="#D961DC" #magenta
|
||||
export COLOR_07="#64AAAF" #cyan
|
||||
export COLOR_07="#00B1BE" #cyan
|
||||
export COLOR_08="#B3B3B3" #white
|
||||
|
||||
export COLOR_09="#535353" #lightBlack
|
||||
export COLOR_09="#3E89A1" #lightBlack
|
||||
export COLOR_10="#E4859A" #lightRed
|
||||
export COLOR_11="#A2CCA1" #lightGreen
|
||||
export COLOR_12="#E1E387" #lightYellow
|
||||
|
||||
55
themes/tender.sh
Executable file
55
themes/tender.sh
Executable file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#1d1d1d" # Black
|
||||
export COLOR_02="#c5152f" # Red
|
||||
export COLOR_03="#c9d05c" # Green
|
||||
export COLOR_04="#ffc24b" # Yellow
|
||||
export COLOR_05="#b3deef" # Blue
|
||||
export COLOR_06="#d3b987" # Magenta
|
||||
export COLOR_07="#73cef4" # Cyan
|
||||
export COLOR_08="#eeeeee" # Light gray
|
||||
|
||||
export COLOR_09="#323232" # Dark gray
|
||||
export COLOR_10="#f43753" # Light Red
|
||||
export COLOR_11="#d9e066" # Light Green
|
||||
export COLOR_12="#facc72" # Light Yellow
|
||||
export COLOR_13="#c0eafb" # Light Blue
|
||||
export COLOR_14="#efd093" # Light Magenta
|
||||
export COLOR_15="#a1d6ec" # Light Cyan
|
||||
export COLOR_16="#ffffff" # White
|
||||
|
||||
export BACKGROUND_COLOR="#282828" # Background Color
|
||||
export FOREGROUND_COLOR="#EEEEEE" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="Tender"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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/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
|
||||
Reference in New Issue
Block a user