Last active
September 24, 2019 05:26
-
-
Save lmintmate/896dd960a5ef370f8cd8612688ffa3ef to your computer and use it in GitHub Desktop.
Blue Mood theme for Gnome terminal and derivatives via Gogh (https://github.com/Mayccoll/Gogh). Installation instructions in the comments.
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
#!/usr/bin/env bash | |
# ====================CONFIG THIS =============================== # | |
export COLOR_01="#000000" # Black | |
export COLOR_02="#FF0000" # Red | |
export COLOR_03="#7FFF00" # Green | |
export COLOR_04="#FFD700" # Yellow | |
export COLOR_05="#235C94" # Blue | |
export COLOR_06="#4F94CD" # Cyan | |
export COLOR_07="#F5DEB3" # Magenta | |
export COLOR_08="#BFBFBF" # Light gray | |
export COLOR_09="#737373" # Dark gray | |
export COLOR_10="#FF6347" # Light Red | |
export COLOR_11="#7FFF00" # Light Green | |
export COLOR_12="#FFFF00" # Light Yellow | |
export COLOR_13="#00CDCD" # Light Blue | |
export COLOR_14="#00FFFF" # Light Cyan | |
export COLOR_15="#F5DEB3" # Light Magenta | |
export COLOR_16="#F5F5F5" # White | |
export BACKGROUND_COLOR="#104E8B" # Background Color | |
export FOREGROUND_COLOR="#F5F5F5" # Foreground Color (text) | |
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color | |
export PROFILE_NAME="Blue Mood" | |
# =============================================================== # | |
# =============================================================== # | |
# | 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install with:
wget -O xt https://git.io/Jesi9 && chmod +x xt && ./xt && rm xt
Activation:
(instructions apply for Mate terminal - adapt accordingly for the terminal you use)
After this command, once you go to the menu
Edit -> Profiles
, you can see that a new profile nameBlue Mood
has been created, and you can set this profile as the default for all new terminal windows from that same menu. You can also just try it out by creating a new tab or terminal window from the File menu and choosing this profile to be used for that.