mirror of
https://github.com/Mayccoll/Gogh.git
synced 2023-08-10 21:12:46 +03:00
Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a011ef81dd | ||
|
|
46584398e2 | ||
|
|
6a139694b2 | ||
|
|
8e14cf9a61 | ||
|
|
76bbec4d25 | ||
|
|
11a9e8e2f6 | ||
|
|
4a1cee9d29 | ||
|
|
f8b6173d18 | ||
|
|
c79eefb259 | ||
|
|
cabd70c35e | ||
|
|
7953b6a65b |
16
README.md
16
README.md
@@ -57,11 +57,18 @@ bash -c "$(curl -sLo- https://git.io/vQgMr)"
|
||||
mkdir -p "$HOME/src"
|
||||
cd "$HOME/src"
|
||||
git clone https://github.com/Gogh-Co/Gogh.git gogh
|
||||
cd gogh/themes
|
||||
cd gogh
|
||||
|
||||
# necessary on ubuntu
|
||||
# necessary in the Gnome terminal on ubuntu
|
||||
export TERMINAL=gnome-terminal
|
||||
|
||||
# necessary in the Alacritty terminal
|
||||
pip install -r requirements.txt
|
||||
export TERMINAL=alacritty
|
||||
|
||||
# Enter themes dir
|
||||
cd themes
|
||||
|
||||
# install themes
|
||||
./atom.sh
|
||||
./dracula.sh
|
||||
@@ -69,6 +76,7 @@ export TERMINAL=gnome-terminal
|
||||
|
||||
## 💻 Terminals
|
||||
|
||||
- Alacritty - [Web](https://github.com/alacritty/alacritty)
|
||||
- Cygwin - [Web](https://www.cygwin.com/)
|
||||
- Foot - [Web](https://codeberg.org/dnkl/foot)
|
||||
- Gnome - [Web](https://help.gnome.org/users/gnome-terminal/stable/)
|
||||
@@ -109,9 +117,11 @@ If you want to create your own color scheme or contribute to the project, [start
|
||||
|
||||
- [4bit](https://ciembor.github.io/4bit/)
|
||||
- [Bluloco Light Theme](https://github.com/uloco/theme-bluloco-light)
|
||||
- [Catppuccin](https://github.com/catppuccin)
|
||||
- [Chalk](https://github.com/chalk/chalk) by [Sindre Sorhus](https://github.com/sindresorhus)
|
||||
- [Dracula](https://github.com/dracula/dracula-theme) by [Zeno Rocha](https://github.com/zenorocha)
|
||||
- [Elementary OS](https://elementary.io/)
|
||||
- [Everblush](https://github.com/Everblush)
|
||||
- [Fairy Floss](https://github.com/sailorhg/fairyfloss)
|
||||
- [Flat Remix](https://github.com/daniruiz/flat-remix)
|
||||
- [Flat UI Terminal Theme](https://dribbble.com/shots/1021755-Flat-UI-Terminal-Theme)
|
||||
@@ -127,6 +137,7 @@ If you want to create your own color scheme or contribute to the project, [start
|
||||
- [One Dark & Light theme set](https://github.com/nathanbuchar/one-dark-terminal) by [Nathan Buchar](https://github.com/nathanbuchar)
|
||||
- [Panda](https://github.com/PandaTheme) by [Siamak](https://github.com/siamak)
|
||||
- [Peppermint](https://noahfrederick.com/log/lion-terminal-theme-peppermint/) by [Noah Frederick](https://github.com/noahfrederick)
|
||||
- [Rosé Pine](https://github.com/rose-pine)
|
||||
- [SMYCK](http://color.smyck.org/) by [John-Paul Bader](https://github.com/hukl)
|
||||
- [Snazzy](https://github.com/sindresorhus/hyper-snazzy) by [Sindre Sorhus](https://github.com/sindresorhus)
|
||||
- [Solarized](https://ethanschoonover.com/solarized) by [Ethan Schoonover](https://github.com/altercation)
|
||||
@@ -140,6 +151,7 @@ If you want to create your own color scheme or contribute to the project, [start
|
||||
- [Tokyo Night](https://github.com/enkia/tokyo-night-vscode-theme)
|
||||
- [Tomorrow color theme set](https://github.com/chriskempson/tomorrow-theme) by [Chris Kempson](https://github.com/chriskempson)
|
||||
- Material theme by [Mitchel van Eijgen](https://gist.github.com/mvaneijgen/4c56701215847dd5ddcf) and [Liu Xinan](https://gist.github.com/xinan/ca2b82fef6aaa0d1e099)
|
||||
- [KANAGAWA.nvim](https://github.com/rebelot/kanagawa.nvim)
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
@@ -1,23 +1,77 @@
|
||||
import io
|
||||
import json
|
||||
import sys
|
||||
from appdirs import user_config_dir
|
||||
from ruamel.yaml import YAML # use ruamel.yaml to preserve comments in config
|
||||
import os
|
||||
from ruamel.yaml import YAML # use ruamel.yaml to preserve comments in config
|
||||
|
||||
|
||||
def get_conf_path():
|
||||
# Determine system
|
||||
# When we are in some Java world do extra checks
|
||||
if sys.platform.startswith('java'):
|
||||
import platform
|
||||
os_name = platform.java_ver()[3][0]
|
||||
if os_name.startswith('Windows'): # "Windows XP", "Windows 7", etc.
|
||||
system = 'win32'
|
||||
else: # anything that isn't windows ("darwin", "Linux", "SunOS", "FreeBSD", "Arch", etc.)
|
||||
system = 'linux2'
|
||||
else:
|
||||
system = sys.platform
|
||||
|
||||
if system == 'win32':
|
||||
# In windows alacritty config can only exist in one place
|
||||
alacritty_path = os.path.expandvars(r'%APPDATA%\alacritty\alacritty.yml')
|
||||
if os.path.exists(alacritty_path):
|
||||
return alacritty_path
|
||||
else:
|
||||
# If it is not win32 it can exists in only a few other places
|
||||
xdg_config_home = os.getenv('XDG_CONFIG_HOME')
|
||||
if xdg_config_home is not None and os.path.exists(xdg_config_home + '/alacritty/alacritty.yml'):
|
||||
return xdg_config_home + "/alacritty/alacritty.yml"
|
||||
if xdg_config_home is not None and os.path.exists(xdg_config_home + "/alacritty.yml"):
|
||||
return xdg_config_home + "/alacritty.yml"
|
||||
|
||||
home = os.getenv('HOME')
|
||||
if home is not None and os.path.exists(home + '/.config/alacritty/alacritty.yml'):
|
||||
return home + "/.config/alacritty/alacritty.yml"
|
||||
if home is not None and os.path.exists(home + '/.config/alacritty.yml'):
|
||||
return home + "/.config/alacritty.yml"
|
||||
if home is not None and os.path.exists(home + 'alacritty.yml'):
|
||||
return home + "/alacritty.yml"
|
||||
|
||||
print("Could not find alacritty config file\nPlease make sure you have a file in one of the paths specified on\nhttps://github.com/alacritty/alacritty#configuration")
|
||||
sys.exit(1)
|
||||
# end
|
||||
|
||||
|
||||
conf_path = get_conf_path()
|
||||
yaml = YAML()
|
||||
conf = user_config_dir('alacritty') + "/alacritty.yml"
|
||||
# Read alacritty config
|
||||
with open(conf, 'r') as stream:
|
||||
|
||||
# Read & parse alacritty config
|
||||
with open(conf_path, 'r') as stream:
|
||||
data_loaded = yaml.load(stream)
|
||||
|
||||
# parse new colors
|
||||
js = json.loads(sys.argv[1])
|
||||
|
||||
# Use update to not remove existing comments
|
||||
data_loaded['colors']['primary'].update(js['colors']['primary'])
|
||||
data_loaded['colors']['normal'].update(js['colors']['normal'])
|
||||
data_loaded['colors']['bright'].update(js['colors']['bright'])
|
||||
# Update yaml file
|
||||
try:
|
||||
# Use update to not remove existing comments
|
||||
data_loaded['colors']['primary'].update(js['colors']['primary'])
|
||||
data_loaded['colors']['normal'].update(js['colors']['normal'])
|
||||
data_loaded['colors']['bright'].update(js['colors']['bright'])
|
||||
except KeyError:
|
||||
print("Could not find existing 'colors' settings in your alacritty.yml file\nplease make sure to uncomment\n'colors', as well as 'primary', 'normal' and 'bright'")
|
||||
print("Check the example config at\nhttps://github.com/alacritty/alacritty/blob/master/alacritty.yml for more information")
|
||||
sys.exit(1)
|
||||
|
||||
# make sure the user is okay with having their config changed
|
||||
answer = input("This script will update your alacritty config at: \n" +
|
||||
conf_path + "\nIt is reccomended to make a copy of this file before proceeding.\nAre you sure you want to continue? (Y/N)\n")
|
||||
if not answer.lower() in ['y', 'yes']:
|
||||
print("Aborted")
|
||||
sys.exit(1)
|
||||
|
||||
# Write alacritty config
|
||||
with io.open(conf, 'w', encoding='utf8') as outfile:
|
||||
with io.open(conf_path, 'w', encoding='utf8') as outfile:
|
||||
yaml.dump(data_loaded, outfile)
|
||||
|
||||
File diff suppressed because one or more lines are too long
9
gogh.sh
9
gogh.sh
@@ -45,6 +45,10 @@ declare -a THEMES=(
|
||||
'brogrammer.sh'
|
||||
'c64.sh'
|
||||
'cai.sh'
|
||||
'catppuccin-frappe.sh'
|
||||
'catppuccin-latte.sh'
|
||||
'catppuccin-macchiato.sh'
|
||||
'catppuccin-mocha.sh'
|
||||
'chalk.sh'
|
||||
'chalkboard.sh'
|
||||
'chameleon.sh'
|
||||
@@ -69,6 +73,7 @@ declare -a THEMES=(
|
||||
'elio.sh'
|
||||
'espresso-libre.sh'
|
||||
'espresso.sh'
|
||||
'everblush.sh'
|
||||
'fairyfloss.sh'
|
||||
'fairyflossdark.sh'
|
||||
'fishtank.sh'
|
||||
@@ -112,6 +117,7 @@ declare -a THEMES=(
|
||||
'japanesque.sh'
|
||||
'jellybeans.sh'
|
||||
'jup.sh'
|
||||
'kanagawa.sh'
|
||||
'kibble.sh'
|
||||
'kokuban.sh'
|
||||
'laserwave.sh'
|
||||
@@ -184,6 +190,9 @@ declare -a THEMES=(
|
||||
'red-sands.sh'
|
||||
'relaxed.sh'
|
||||
'rippedcasts.sh'
|
||||
'rose-pine-dawn.sh'
|
||||
'rose-pine-moon.sh'
|
||||
'rose-pine.sh'
|
||||
'royal.sh'
|
||||
'sat.sh'
|
||||
'sea-shells.sh'
|
||||
|
||||
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
ruamel.yaml==0.17.21
|
||||
|
||||
55
themes/catppuccin-frappe.sh
Normal file
55
themes/catppuccin-frappe.sh
Normal file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#51576D" # Black
|
||||
export COLOR_02="#E78284" # Red
|
||||
export COLOR_03="#A6D189" # Green
|
||||
export COLOR_04="#E5C890" # Yellow
|
||||
export COLOR_05="#8CAAEE" # Blue
|
||||
export COLOR_06="#F4B8E4" # Magenta
|
||||
export COLOR_07="#81C8BE" # Cyan
|
||||
export COLOR_08="#B5BFE2" # Light gray
|
||||
|
||||
export COLOR_09="#626880" # Dark gray
|
||||
export COLOR_10="#E78284" # Light Red
|
||||
export COLOR_11="#A6D189" # Light Green
|
||||
export COLOR_12="#E5C890" # Light Yellow
|
||||
export COLOR_13="#8CAAEE" # Light Blue
|
||||
export COLOR_14="#F4B8E4" # Light Magenta
|
||||
export COLOR_15="#81C8BE" # Light Cyan
|
||||
export COLOR_16="#A5ADCE" # White
|
||||
|
||||
export BACKGROUND_COLOR="#303446" # Background Color
|
||||
export FOREGROUND_COLOR="#C6D0F5" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="Catppuccin Frappé"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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
|
||||
55
themes/catppuccin-latte.sh
Normal file
55
themes/catppuccin-latte.sh
Normal file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#5C5F77" # Black
|
||||
export COLOR_02="#D20F39" # Red
|
||||
export COLOR_03="#40A02B" # Green
|
||||
export COLOR_04="#DF8E1D" # Yellow
|
||||
export COLOR_05="#1E66F5" # Blue
|
||||
export COLOR_06="#EA76CB" # Magenta
|
||||
export COLOR_07="#179299" # Cyan
|
||||
export COLOR_08="#ACB0BE" # Light gray
|
||||
|
||||
export COLOR_09="#6C6F85" # Dark gray
|
||||
export COLOR_10="#D20F39" # Light Red
|
||||
export COLOR_11="#40A02B" # Light Green
|
||||
export COLOR_12="#DF8E1D" # Light Yellow
|
||||
export COLOR_13="#1E66F5" # Light Blue
|
||||
export COLOR_14="#EA76CB" # Light Magenta
|
||||
export COLOR_15="#179299" # Light Cyan
|
||||
export COLOR_16="#BCC0CC" # White
|
||||
|
||||
export BACKGROUND_COLOR="#EFF1F5" # Background Color
|
||||
export FOREGROUND_COLOR="#4C4F69" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="Catppuccin Latte"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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
|
||||
55
themes/catppuccin-macchiato.sh
Normal file
55
themes/catppuccin-macchiato.sh
Normal file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#494D64" # Black
|
||||
export COLOR_02="#ED8796" # Red
|
||||
export COLOR_03="#A6DA95" # Green
|
||||
export COLOR_04="#EED49F" # Yellow
|
||||
export COLOR_05="#8AADF4" # Blue
|
||||
export COLOR_06="#F5BDE6" # Magenta
|
||||
export COLOR_07="#8BD5CA" # Cyan
|
||||
export COLOR_08="#B8C0E0" # Light gray
|
||||
|
||||
export COLOR_09="#5B6078" # Dark gray
|
||||
export COLOR_10="#ED8796" # Light Red
|
||||
export COLOR_11="#A6DA95" # Light Green
|
||||
export COLOR_12="#EED49F" # Light Yellow
|
||||
export COLOR_13="#8AADF4" # Light Blue
|
||||
export COLOR_14="#F5BDE6" # Light Magenta
|
||||
export COLOR_15="#8BD5CA" # Light Cyan
|
||||
export COLOR_16="#A5ADCB" # White
|
||||
|
||||
export BACKGROUND_COLOR="#24273A" # Background Color
|
||||
export FOREGROUND_COLOR="#CAD3F5" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="Catppuccin Macchiato"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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
|
||||
55
themes/catppuccin-mocha.sh
Normal file
55
themes/catppuccin-mocha.sh
Normal file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#45475A" # Black
|
||||
export COLOR_02="#F38BA8" # Red
|
||||
export COLOR_03="#A6E3A1" # Green
|
||||
export COLOR_04="#F9E2AF" # Yellow
|
||||
export COLOR_05="#89B4FA" # Blue
|
||||
export COLOR_06="#F5C2E7" # Magenta
|
||||
export COLOR_07="#94E2D5" # Cyan
|
||||
export COLOR_08="#BAC2DE" # Light gray
|
||||
|
||||
export COLOR_09="#585B70" # Dark gray
|
||||
export COLOR_10="#F38BA8" # Light Red
|
||||
export COLOR_11="#A6E3A1" # Light Green
|
||||
export COLOR_12="#F9E2AF" # Light Yellow
|
||||
export COLOR_13="#89B4FA" # Light Blue
|
||||
export COLOR_14="#F5C2E7" # Light Magenta
|
||||
export COLOR_15="#94E2D5" # Light Cyan
|
||||
export COLOR_16="#A6ADC8" # White
|
||||
|
||||
export BACKGROUND_COLOR="#" # Background Color
|
||||
export FOREGROUND_COLOR="#" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="Catppuccin Mocha"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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
|
||||
55
themes/everblush.sh
Normal file
55
themes/everblush.sh
Normal file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#232A2D" # Black
|
||||
export COLOR_02="#E57474" # Red
|
||||
export COLOR_03="#8CCF7E" # Green
|
||||
export COLOR_04="#E5C76B" # Yellow
|
||||
export COLOR_05="#67B0E8" # Blue
|
||||
export COLOR_06="#C47FD5" # Magenta
|
||||
export COLOR_07="#6CBFBF" # Cyan
|
||||
export COLOR_08="#B3B9B8" # Light gray
|
||||
|
||||
export COLOR_09="#2D3437" # Dark gray
|
||||
export COLOR_10="#EF7E7E" # Light Red
|
||||
export COLOR_11="#96D988" # Light Green
|
||||
export COLOR_12="#F4D67A" # Light Yellow
|
||||
export COLOR_13="#71BAF2" # Light Blue
|
||||
export COLOR_14="#CE89DF" # Light Magenta
|
||||
export COLOR_15="#67CBE7" # Light Cyan
|
||||
export COLOR_16="#BDC3C2" # White
|
||||
|
||||
export BACKGROUND_COLOR="#141B1E" # Background Color
|
||||
export FOREGROUND_COLOR="#DADADA" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="Everblush"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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
|
||||
55
themes/kanagawa.sh
Executable file
55
themes/kanagawa.sh
Executable file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#090618" # Black
|
||||
export COLOR_02="#C34043" # Red
|
||||
export COLOR_03="#76946A" # Green
|
||||
export COLOR_04="#C0A36E" # Yellow
|
||||
export COLOR_05="#7E9CD8" # Blue
|
||||
export COLOR_06="#957FB8" # Magenta
|
||||
export COLOR_07="#6A9589" # Cyan
|
||||
export COLOR_08="#DCD7BA" # Light gray
|
||||
|
||||
export COLOR_09="#727169" # Dark gray
|
||||
export COLOR_10="#E82424" # Light Red
|
||||
export COLOR_11="#98BB6C" # Light Green
|
||||
export COLOR_12="#E6C384" # Light Yellow
|
||||
export COLOR_13="#7FB4CA" # Light Blue
|
||||
export COLOR_14="#938AA9" # Light Magenta
|
||||
export COLOR_15="#7AA89F" # Light Cyan
|
||||
export COLOR_16="#C8C093" # White
|
||||
|
||||
export BACKGROUND_COLOR="#1F1F28" # Background Color
|
||||
export FOREGROUND_COLOR="#DCD7BA" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="kanagawa"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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
|
||||
55
themes/rose-pine-dawn.sh
Normal file
55
themes/rose-pine-dawn.sh
Normal file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#F2E9E1" # Black
|
||||
export COLOR_02="#B4637A" # Red
|
||||
export COLOR_03="#56949F" # Green
|
||||
export COLOR_04="#EA9D34" # Yellow
|
||||
export COLOR_05="#286983" # Blue
|
||||
export COLOR_06="#907AA9" # Magenta
|
||||
export COLOR_07="#D7827E" # Cyan
|
||||
export COLOR_08="#575279" # Light gray
|
||||
|
||||
export COLOR_09="#9893A5" # Dark gray
|
||||
export COLOR_10="#B4637A" # Light Red
|
||||
export COLOR_11="#56949F" # Light Green
|
||||
export COLOR_12="#EA9D34" # Light Yellow
|
||||
export COLOR_13="#286983" # Light Blue
|
||||
export COLOR_14="#907AA9" # Light Magenta
|
||||
export COLOR_15="#D7827E" # Light Cyan
|
||||
export COLOR_16="#575279" # White
|
||||
|
||||
export BACKGROUND_COLOR="#FAF4ED" # Background Color
|
||||
export FOREGROUND_COLOR="#575279" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="Rosé Pine Dawn"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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
|
||||
55
themes/rose-pine-moon.sh
Normal file
55
themes/rose-pine-moon.sh
Normal file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#393552" # Black
|
||||
export COLOR_02="#EB6F92" # Red
|
||||
export COLOR_03="#9CCFD8" # Green
|
||||
export COLOR_04="#F6C177" # Yellow
|
||||
export COLOR_05="#3E8FB0" # Blue
|
||||
export COLOR_06="#C4A7E7" # Magenta
|
||||
export COLOR_07="#EA9A97" # Cyan
|
||||
export COLOR_08="#E0DEF4" # Light gray
|
||||
|
||||
export COLOR_09="#6E6A86" # Dark gray
|
||||
export COLOR_10="#EB6F92" # Light Red
|
||||
export COLOR_11="#9CCFD8" # Light Green
|
||||
export COLOR_12="#F6C177" # Light Yellow
|
||||
export COLOR_13="#3E8FB0" # Light Blue
|
||||
export COLOR_14="#C4A7E7" # Light Magenta
|
||||
export COLOR_15="#EA9A97" # Light Cyan
|
||||
export COLOR_16="#E0DEF4" # White
|
||||
|
||||
export BACKGROUND_COLOR="#232136" # Background Color
|
||||
export FOREGROUND_COLOR="#E0DEF4" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="Rosé Pine Moon"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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
|
||||
55
themes/rose-pine.sh
Normal file
55
themes/rose-pine.sh
Normal file
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# ====================CONFIG THIS =============================== #
|
||||
export COLOR_01="#26233A" # Black
|
||||
export COLOR_02="#EB6F92" # Red
|
||||
export COLOR_03="#9CCFD8" # Green
|
||||
export COLOR_04="#F6C177" # Yellow
|
||||
export COLOR_05="#31748F" # Blue
|
||||
export COLOR_06="#C4A7E7" # Magenta
|
||||
export COLOR_07="#EBBCBA" # Cyan
|
||||
export COLOR_08="#E0DEF4" # Light gray
|
||||
|
||||
export COLOR_09="#6E6A86" # Dark gray
|
||||
export COLOR_10="#EB6F92" # Light Red
|
||||
export COLOR_11="#9CCFD8" # Light Green
|
||||
export COLOR_12="#F6C177" # Light Yellow
|
||||
export COLOR_13="#31748F" # Light Blue
|
||||
export COLOR_14="#C4A7E7" # Light Magenta
|
||||
export COLOR_15="#EBBCBA" # Light Cyan
|
||||
export COLOR_16="#E0DEF4" # White
|
||||
|
||||
export BACKGROUND_COLOR="#191724" # Background Color
|
||||
export FOREGROUND_COLOR="#E0DEF4" # Foreground Color (text)
|
||||
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
|
||||
export PROFILE_NAME="Rosé Pine"
|
||||
# =============================================================== #
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# =============================================================== #
|
||||
# | 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
|
||||
Reference in New Issue
Block a user