mirror of
https://github.com/Mayccoll/Gogh.git
synced 2023-08-10 21:12:46 +03:00
Major update with tilix support
This commit is contained in:
parent
f4f280d78c
commit
c60eb20614
@ -106,14 +106,44 @@ set_theme() {
|
||||
dset use-theme-background "false"
|
||||
}
|
||||
|
||||
# |
|
||||
# | If terminal supports truecolor then we can show theme colors without applying the theme
|
||||
# | ===========================================
|
||||
if [[ "${COLORTERM:-}" == "truecolor" ]] || [[ "${COLORTERM:-}" == "24bit" ]]; then
|
||||
# gogh_colors have been moved here to avoid multiple definitions
|
||||
function gogh_colors () {
|
||||
echo
|
||||
# Note: {01..16} does not work on OSX
|
||||
for c in $(seq -s " " -w 16); do
|
||||
local color="COLOR_$c"
|
||||
set -- $(hexRGBtoDecRGB "${!color}")
|
||||
echo -ne "\033[38;2;${1};${2};${3}m█████$(tput sgr0)"
|
||||
[[ ${GOGH_DRY_RUN:-0} -eq 1 ]] && declare -g DEMO_COLOR_${c}="\033[38;2;${1};${2};${3}m"
|
||||
[[ "$c" == "08" ]] && echo # new line
|
||||
done
|
||||
echo -e "\n\n"
|
||||
}
|
||||
else
|
||||
function gogh_colors () {
|
||||
echo
|
||||
for c in {0..15}; do
|
||||
echo -n "$(tput setaf $c)█████$(tput sgr0)"
|
||||
[[ $c == 7 ]] && echo # new line
|
||||
done
|
||||
echo -e "\n\n"
|
||||
}
|
||||
fi
|
||||
|
||||
|
||||
# |
|
||||
# | Print theme colors
|
||||
# | ===========================================
|
||||
if command -v gogh_truecolor > /dev/null; then
|
||||
gogh_truecolor
|
||||
else
|
||||
gogh_colors
|
||||
fi
|
||||
gogh_colors
|
||||
[[ ${GOGH_DRY_RUN:-0} -eq 1 ]] && color
|
||||
|
||||
# End here if dry run was initiated
|
||||
[[ ${GOGH_DRY_RUN:-0} -eq 1 ]] && return 0
|
||||
|
||||
|
||||
# |
|
||||
# | Apply color scheme to terminal
|
||||
|
146
gogh.sh
146
gogh.sh
@ -170,20 +170,8 @@ declare -a THEMES=(
|
||||
'zenburn.sh'
|
||||
)
|
||||
|
||||
|
||||
cleanup() {
|
||||
echo
|
||||
echo "Cleaning up"
|
||||
rm -rf "$scratchdir"
|
||||
unset TERMINAL LOOP OPTLENGTH
|
||||
echo "Done..."
|
||||
exit 0
|
||||
}
|
||||
|
||||
scratchdir=$(mktemp -d -t tmp.XXXXXXXX)
|
||||
export scratchdir
|
||||
trap 'cleanup; trap - EXIT' EXIT HUP INT QUIT PIPE TERM
|
||||
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
capitalize() {
|
||||
local ARGUMENT=$1
|
||||
@ -201,53 +189,72 @@ capitalize() {
|
||||
echo "${RES_NO_TRAIL_SPACE}"
|
||||
}
|
||||
|
||||
curlsource() {
|
||||
local F
|
||||
F=$(mktemp -t curlsource)
|
||||
curl -o "$F" -s -L "$1"
|
||||
source "$F"
|
||||
rm -f "$F"
|
||||
}
|
||||
|
||||
set_gogh() {
|
||||
string=$1
|
||||
string_r="${string%???}"
|
||||
string_s=${string_r//\./_}
|
||||
result=$(capitalize "${string_s}")
|
||||
url="https://raw.githubusercontent.com/Mayccoll/Gogh/master/themes/$1"
|
||||
url="${BASE_URL}/themes/$1"
|
||||
|
||||
export {PROFILE_NAME,PROFILE_SLUG}="$result"
|
||||
|
||||
# Evaluate if Gogh was called from local source - i.e cloned repo
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
if [ -e "$SCRIPT_PATH/themes/$1" ]; then
|
||||
bash "$SCRIPT_PATH/themes/$1"
|
||||
eval "$SCRIPT_PATH/themes/$1"
|
||||
else
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl
|
||||
# Note: sourcing directly from curl does not work
|
||||
curlsource "${url}"
|
||||
eval "$(curl -so- "${url}")"
|
||||
else
|
||||
bash <(wget -O - "${url}")
|
||||
eval "$(wget -qO- "${url}")"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
remove_file_extension (){
|
||||
echo "${1%.*}"
|
||||
}
|
||||
|
||||
|
||||
### Get length of an array
|
||||
ARRAYLENGTH=${#THEMES[@]}
|
||||
NUM=1
|
||||
|
||||
|
||||
# |
|
||||
# | ::::::: Print Colors
|
||||
# | ::::::: Print logo
|
||||
# |
|
||||
echo -e "
|
||||
Gogh\n
|
||||
\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m
|
||||
\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
tput clear
|
||||
if [[ ${COLUMNS:-$(tput cols)} -ge 80 ]]; then
|
||||
echo " "
|
||||
echo " █████████ █████ "
|
||||
echo " ███ ███ ███ "
|
||||
echo " ███ ██████ ███████ ███████ "
|
||||
echo " ███ ███ ███ ███ ███ ███ ███ "
|
||||
echo " ███ █████ ███ ███ ███ ███ ███ ███ "
|
||||
echo " ███ ███ ███ ███ ███ ███ ███ ███ "
|
||||
echo " █████████ ██████ ███████ ████ █████ "
|
||||
echo " $(tput setaf 0)█████████$(tput setaf 1)█████████$(tput setaf 2)█████████$(tput setaf 3)█████████$(tput setaf 4)█████$(tput sgr 0)███$(tput setaf 4)█$(tput setaf 5)█████████$(tput setaf 6)█████████$(tput setaf 7)█████████ "
|
||||
echo " $(tput setaf 0)█████████$(tput setaf 1)█████████$(tput setaf 2)█████████$(tput setaf 3)█████████$(tput sgr 0)███$(tput setaf 4)██$(tput sgr 0)███$(tput setaf 4)█$(tput setaf 5)█████████$(tput setaf 6)█████████$(tput setaf 7)█████████ "
|
||||
echo " $(tput setaf 0)█████████$(tput setaf 1)█████████$(tput setaf 2)█████████$(tput setaf 3)█████████$(tput setaf 4)█$(tput sgr0)██████$(tput setaf 4)██$(tput setaf 5)█████████$(tput setaf 6)█████████$(tput setaf 7)█████████ "
|
||||
echo " $(tput setaf 8)█████████$(tput setaf 9)█████████$(tput setaf 10)█████████$(tput setaf 11)█████████$(tput setaf 12)█████████$(tput setaf 13)█████████$(tput setaf 14)█████████$(tput setaf 15)█████████$(tput sgr 0) "
|
||||
echo " $(tput setaf 8)█████████$(tput setaf 9)█████████$(tput setaf 10)█████████$(tput setaf 11)█████████$(tput setaf 12)█████████$(tput setaf 13)█████████$(tput setaf 14)█████████$(tput setaf 15)█████████$(tput sgr 0) "
|
||||
echo " $(tput setaf 8)█████████$(tput setaf 9)█████████$(tput setaf 10)█████████$(tput setaf 11)█████████$(tput setaf 12)█████████$(tput setaf 13)█████████$(tput setaf 14)█████████$(tput setaf 15)█████████$(tput sgr 0) "
|
||||
echo " "
|
||||
|
||||
sleep 2.5
|
||||
else
|
||||
echo -e "\nGogh\n"
|
||||
for c in {0..15}; do
|
||||
echo -n "$(tput setaf $c)█████$(tput sgr0)"
|
||||
[[ $c == 7 ]] && echo # new line
|
||||
done
|
||||
echo
|
||||
fi
|
||||
|
||||
|
||||
# |
|
||||
# | ::::::: Print Themes
|
||||
@ -260,19 +267,22 @@ for TH in "${THEMES[@]}"; do
|
||||
FILENAME=${TH::$((${#TH}-3))}
|
||||
FILENAME_SPACE=${FILENAME//-/ }
|
||||
|
||||
echo -e " (\\033[0m\033[0;34m $KEY \\033[0m\033[0m) $(capitalize "${FILENAME_SPACE}")"
|
||||
echo -e " ($(tput setaf 4) $KEY $(tput sgr0)) $(capitalize "${FILENAME_SPACE}")"
|
||||
|
||||
((NUM++))
|
||||
|
||||
done
|
||||
echo -e " ($(tput setaf 4) ALL $(tput sgr0)) All themes"
|
||||
|
||||
# |
|
||||
# | ::::::: Select Option
|
||||
# |
|
||||
echo -e "\nUsage : Enter Desired Themes Numbers (\\033[0m\033[0;34mOPTIONS\\033[0m\033[0m) Separated By A Blank Space"
|
||||
echo -e " Press \033[0;34mENTER\\033[0m without options to Exit\n"
|
||||
echo -e "\nUsage : Enter Desired Themes Numbers ($(tput setaf 4)OPTIONS$(tput sgr0)) Separated By A Blank Space"
|
||||
echo -e " Press $(tput setaf 4)ENTER$(tput sgr0) without options to Exit\n"
|
||||
read -r -p 'Enter OPTION(S) : ' -a OPTION
|
||||
|
||||
# Automagically generate options if user opts for all themes
|
||||
[[ "$OPTION" == ALL ]] && OPTION=($(seq -s " " $ARRAYLENGTH))
|
||||
|
||||
# |
|
||||
# | ::::::: Get terminal
|
||||
@ -280,7 +290,7 @@ read -r -p 'Enter OPTION(S) : ' -a OPTION
|
||||
# |
|
||||
# | Check for the terminal name (depening on os)
|
||||
# | ===========================================
|
||||
OS=$(uname)
|
||||
OS="$(uname)"
|
||||
if [ "$OS" = "Darwin" ]; then
|
||||
# |
|
||||
# | Check for the terminal name and decide how to apply
|
||||
@ -301,34 +311,49 @@ else
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
# |
|
||||
# | ::::::: Fancy progressbar for lengthy operations
|
||||
# |
|
||||
if [[ ${#OPTION[@]} -gt 5 ]]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
eval "$(curl -sLo- "https://git.io/progressbar")" 2> /dev/null
|
||||
else
|
||||
eval "$(wget -qO- "https://git.io/progressbar")" 2> /dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# |
|
||||
# | Tilix supports fg/bg in color schemes - ask wether user wants to go that route
|
||||
# | This is to avoid creating multiple profiles just for colors
|
||||
# | ===========================================
|
||||
if [[ "$TERMINAL" = "tilix" ]]; then
|
||||
if [[ "$TERMINAL" = "tilix" ]] && [[ ${#OPTION[@]} -gt 0 ]]; then
|
||||
echo
|
||||
read -r -p "Tilix detected - use color schemes instead of profiles? [y/N] " -n 1 TILIX_RES
|
||||
echo
|
||||
|
||||
# |
|
||||
# | When selecting multiple themes and user opts for color schemes, we save all themes
|
||||
# | in a tmpdir and copy the files once all themes has been processed.. If a user
|
||||
# | desides to abort before all themes has been processed this section will cleanup the tmpdir
|
||||
# | =======================================
|
||||
if [[ ${TILIX_RES::1} =~ ^(y|Y)$ ]]; then
|
||||
cleanup() {
|
||||
echo
|
||||
echo "Cleaning up"
|
||||
rm -rf "$scratchdir"
|
||||
unset LOOP OPTLENGTH
|
||||
echo "Done..."
|
||||
exit 0
|
||||
}
|
||||
|
||||
scratchdir=$(mktemp -d -t tmp.XXXXXXXX)
|
||||
export scratchdir
|
||||
trap 'cleanup; trap - EXIT' EXIT HUP INT QUIT PIPE TERM
|
||||
fi
|
||||
fi
|
||||
|
||||
# |
|
||||
# | If terminal supports truecolor then we can show theme colors without applying the theme
|
||||
# | ===========================================
|
||||
if [[ "${COLORTERM:-}" == "truecolor" ]] || [[ "${COLORTERM:-}" == "24bit" ]]; then
|
||||
# This function gets called in apply-colors.sh instead of gogh_colors
|
||||
# Calls to gogh_colors has also been move to apply-colors.sh to avoid printing twice
|
||||
function gogh_truecolor () {
|
||||
# Note: {01..16} does not work on OSX
|
||||
for c in $(seq -s " " -w 16); do
|
||||
local color="COLOR_$c"
|
||||
set -- $(hexRGBtoDecRGB "${!color}")
|
||||
echo -ne "\033[38;2;${1};${2};${3}m█████\033[0m"
|
||||
[[ "$c" == "08" ]] && echo # new line
|
||||
done
|
||||
echo -e "\n\n"
|
||||
}
|
||||
export -f gogh_truecolor
|
||||
fi
|
||||
|
||||
# |
|
||||
# | ::::::: Export one-off variables
|
||||
@ -336,6 +361,7 @@ fi
|
||||
[[ -n "${TILIX_RES:-}" ]] && export TILIX_RES
|
||||
export TERMINAL LOOP OPTLENGTH=${#OPTION[@]}
|
||||
|
||||
|
||||
# |
|
||||
# | ::::::: Apply Theme
|
||||
# |
|
||||
@ -344,19 +370,27 @@ export TERMINAL LOOP OPTLENGTH=${#OPTION[@]}
|
||||
# Constants with a leading 0 are interpreted as octal numbers
|
||||
# Hence option 08 and 09 will not work
|
||||
# Solution is to remove the leading 0 from the parsed options
|
||||
bar::start 2> /dev/null
|
||||
for OP in "${OPTION[@]#0}"; do
|
||||
# See Tilix section in apply-colors.sh for usage of LOOP
|
||||
LOOP=$((${LOOP:-0}+1))
|
||||
bar::status_changed $LOOP ${#OPTION[@]} 2> /dev/null
|
||||
if [[ OP -le ARRAYLENGTH && OP -gt 0 ]]; then
|
||||
|
||||
FILENAME=$(remove_file_extension "${THEMES[((OP-1))]}")
|
||||
FILENAME_SPACE="${FILENAME//-/ }"
|
||||
echo -e "\nTheme: $(capitalize "${FILENAME_SPACE}")\n\033[0;30m•\\033[0m\033[0;31m•\\033[0m\033[0;32m•\\033[0m\033[0;33m•\\033[0m\033[0;34m•\\033[0m\033[0;35m•\\033[0m\033[0;36m•\\033[0m\033[0;37m•\\033[0m \033[0;37m•\\033[0m\033[0;36m•\\033[0m\033[0;35m•\\033[0m\033[0;34m•\\033[0m\033[0;33m•\\033[0m\033[0;32m•\\033[0m\033[0;31m•\\033[0m\033[0;30m•\\033[0m\n"
|
||||
echo -e "\nTheme: $(capitalize "${FILENAME_SPACE}")"
|
||||
for c in {0..15}; do
|
||||
echo -n "$(tput setaf $c)•$(tput sgr0)"
|
||||
[[ $c == 7 ]] && echo -n " "
|
||||
done
|
||||
echo
|
||||
|
||||
SET_THEME="${THEMES[((OP-1))]}"
|
||||
set_gogh "${SET_THEME}"
|
||||
else
|
||||
echo -e "\\033[0m\033[0;31m ~ INVALID OPTION! ~\\033[0m\033[0m"
|
||||
echo -e "$(tput setaf 1) ~ INVALID OPTION! ~$(tput sgr0)"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
bar::stop 2> /dev/null
|
295
test/print-themes.sh
Normal file
295
test/print-themes.sh
Normal file
@ -0,0 +1,295 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ "${COLORTERM:-}" != "truecolor" ]] && [[ "${COLORTERM:-}" != "24bit" ]]; then
|
||||
echo "TrueColor support is needed for this to function"
|
||||
echo "You can try to manually set COLORTERM to truecolor"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Reset color
|
||||
RS="$(tput sgr0)"
|
||||
|
||||
# Print all themes without applying, this variable gets checked in apply-colors.sh
|
||||
export GOGH_DRY_RUN=1
|
||||
|
||||
color () {
|
||||
# echo ""
|
||||
#black
|
||||
echo -e "${DEMO_COLOR_01} ███ *** AaBbCs --- ███ ${RS} ---> Color 01 'tput setaf 0'"
|
||||
#red
|
||||
echo -e "${DEMO_COLOR_02} ███ *** AaBbCs --- ███ ${RS} ---> Color 02 'tput setaf 1'"
|
||||
#green
|
||||
echo -e "${DEMO_COLOR_03} ███ *** AaBbCs --- ███ ${RS} ---> Color 03 'tput setaf 2'"
|
||||
#yellow
|
||||
echo -e "${DEMO_COLOR_04} ███ *** AaBbCs --- ███ ${RS} ---> Color 04 'tput setaf 3'"
|
||||
#blue
|
||||
echo -e "${DEMO_COLOR_05} ███ *** AaBbCs --- ███ ${RS} ---> Color 05 'tput setaf 4'"
|
||||
#purple
|
||||
echo -e "${DEMO_COLOR_06} ███ *** AaBbCs --- ███ ${RS} ---> Color 06 'tput setaf 5'"
|
||||
#cyan
|
||||
echo -e "${DEMO_COLOR_07} ███ *** AaBbCs --- ███ ${RS} ---> Color 07 'tput setaf 6'"
|
||||
#white
|
||||
echo -e "${DEMO_COLOR_08} ███ *** AaBbCs --- ███ ${RS} ---> Color 08 'tput setaf 7'"
|
||||
echo ""
|
||||
#black
|
||||
echo -e "${DEMO_COLOR_09} ███ *** AaBbCs --- ███ ${RS} ---> Color 09 'tput setaf 8'"
|
||||
#red
|
||||
echo -e "${DEMO_COLOR_10} ███ *** AaBbCs --- ███ ${RS} ---> Color 10 'tput setaf 9'"
|
||||
#green
|
||||
echo -e "${DEMO_COLOR_11} ███ *** AaBbCs --- ███ ${RS} ---> Color 11 'tput setaf 10'"
|
||||
#yellow
|
||||
echo -e "${DEMO_COLOR_12} ███ *** AaBbCs --- ███ ${RS} ---> Color 12 'tput setaf 11'"
|
||||
#blue
|
||||
echo -e "${DEMO_COLOR_13} ███ *** AaBbCs --- ███ ${RS} ---> Color 13 'tput setaf 12'"
|
||||
#purple
|
||||
echo -e "${DEMO_COLOR_14} ███ *** AaBbCs --- ███ ${RS} ---> Color 14 'tput setaf 13'"
|
||||
#cyan
|
||||
echo -e "${DEMO_COLOR_15} ███ *** AaBbCs --- ███ ${RS} ---> Color 15 'tput setaf 14'"
|
||||
#white
|
||||
echo -e "${DEMO_COLOR_16} ███ *** AaBbCs --- ███ ${RS} ---> Color 16 'tput setaf 15'"
|
||||
echo ""
|
||||
}
|
||||
|
||||
export -f color
|
||||
|
||||
declare -a THEMES=(
|
||||
'3024-day.sh'
|
||||
'3024-night.sh'
|
||||
'aci.sh'
|
||||
'aco.sh'
|
||||
'adventuretime.sh'
|
||||
'afterglow.sh'
|
||||
'alien-blood.sh'
|
||||
'argonaut.sh'
|
||||
'arthur.sh'
|
||||
'atom.sh'
|
||||
'azu.sh'
|
||||
'belafonte-day.sh'
|
||||
'belafonte-night.sh'
|
||||
'bim.sh'
|
||||
'birds-of-paradise.sh'
|
||||
'blazer.sh'
|
||||
'borland.sh'
|
||||
'broadcast.sh'
|
||||
'brogrammer.sh'
|
||||
'c64.sh'
|
||||
'cai.sh'
|
||||
'chalk.sh'
|
||||
'chalkboard.sh'
|
||||
'ciapre.sh'
|
||||
'clone-of-ubuntu.sh'
|
||||
'clrs.sh'
|
||||
'cobalt-neon.sh'
|
||||
'cobalt2.sh'
|
||||
'crayon-pony-fish.sh'
|
||||
'dark-pastel.sh'
|
||||
'darkside.sh'
|
||||
'desert.sh'
|
||||
'dimmed-monokai.sh'
|
||||
'dracula.sh'
|
||||
'earthsong.sh'
|
||||
'elemental.sh'
|
||||
'elementary.sh'
|
||||
'elic.sh'
|
||||
'elio.sh'
|
||||
'espresso-libre.sh'
|
||||
'espresso.sh'
|
||||
'fishtank.sh'
|
||||
'flat.sh'
|
||||
'flatland.sh'
|
||||
'foxnightly.sh'
|
||||
'freya.sh'
|
||||
'frontend-delight.sh'
|
||||
'frontend-fun-forrest.sh'
|
||||
'frontend-galaxy.sh'
|
||||
'github.sh'
|
||||
'google-dark.sh'
|
||||
'google-light.sh'
|
||||
'gooey.sh'
|
||||
'grape.sh'
|
||||
'grass.sh'
|
||||
'gruvbox-dark.sh'
|
||||
'gruvbox.sh'
|
||||
'hardcore.sh'
|
||||
'harper.sh'
|
||||
'hemisu-dark.sh'
|
||||
'hemisu-light.sh'
|
||||
'highway.sh'
|
||||
'hipster-green.sh'
|
||||
'homebrew.sh'
|
||||
'hurtado.sh'
|
||||
'hybrid.sh'
|
||||
'ic-green-ppl.sh'
|
||||
'ic-orange-ppl.sh'
|
||||
'idle-toes.sh'
|
||||
'ir-black.sh'
|
||||
'jackie-brown.sh'
|
||||
'japanesque.sh'
|
||||
'jellybeans.sh'
|
||||
'jup.sh'
|
||||
'kibble.sh'
|
||||
'later-this-evening.sh'
|
||||
'lavandula.sh'
|
||||
'liquid-carbon-transparent.sh'
|
||||
'liquid-carbon.sh'
|
||||
'man-page.sh'
|
||||
'mar.sh'
|
||||
'material.sh'
|
||||
'mathias.sh'
|
||||
'medallion.sh'
|
||||
'misterioso.sh'
|
||||
'miu.sh'
|
||||
'molokai.sh'
|
||||
'mona-lisa.sh'
|
||||
'monokai-dark.sh'
|
||||
'monokai-soda.sh'
|
||||
'n0tch2k.sh'
|
||||
'neopolitan.sh'
|
||||
'nep.sh'
|
||||
'neutron.sh'
|
||||
'nightlion-v1.sh'
|
||||
'nightlion-v2.sh'
|
||||
'nighty.sh'
|
||||
'nord-light.sh'
|
||||
'nord.sh'
|
||||
'novel.sh'
|
||||
'obsidian.sh'
|
||||
'ocean-dark.sh'
|
||||
'ocean.sh'
|
||||
'oceanic-next.sh'
|
||||
'ollie.sh'
|
||||
'one-dark.sh'
|
||||
'one-half-black.sh'
|
||||
'one-light.sh'
|
||||
'pali.sh'
|
||||
'paraiso-dark.sh'
|
||||
'paul-millr.sh'
|
||||
'pencil-dark.sh'
|
||||
'pencil-light.sh'
|
||||
'peppermint.sh'
|
||||
'pnevma.sh'
|
||||
'pro.sh'
|
||||
'red-alert.sh'
|
||||
'red-sands.sh'
|
||||
'rippedcasts.sh'
|
||||
'royal.sh'
|
||||
'sat.sh'
|
||||
'sea-shells.sh'
|
||||
'seafoam-pastel.sh'
|
||||
'seti.sh'
|
||||
'shaman.sh'
|
||||
'shel.sh'
|
||||
'slate.sh'
|
||||
'smyck.sh'
|
||||
'snazzy.sh'
|
||||
'soft-server.sh'
|
||||
'solarized-darcula.sh'
|
||||
'solarized-dark-higher-contrast.sh'
|
||||
'solarized-dark.sh'
|
||||
'solarized-light.sh'
|
||||
'spacedust.sh'
|
||||
'spacegray-eighties-dull.sh'
|
||||
'spacegray-eighties.sh'
|
||||
'spacegray.sh'
|
||||
'spring.sh'
|
||||
'square.sh'
|
||||
'srcery.sh'
|
||||
'sundried.sh'
|
||||
'symphonic.sh'
|
||||
'teerb.sh'
|
||||
'terminal-basic.sh'
|
||||
'terminix-dark.sh'
|
||||
'thayer-bright.sh'
|
||||
'tin.sh'
|
||||
'tomorrow-night-blue.sh'
|
||||
'tomorrow-night-bright.sh'
|
||||
'tomorrow-night-eighties.sh'
|
||||
'tomorrow-night.sh'
|
||||
'tomorrow.sh'
|
||||
'toy-chest.sh'
|
||||
'treehouse.sh'
|
||||
'twilight.sh'
|
||||
'ura.sh'
|
||||
'urple.sh'
|
||||
'vag.sh'
|
||||
'vaughn.sh'
|
||||
'vibrant-ink.sh'
|
||||
'warm-neon.sh'
|
||||
'wez.sh'
|
||||
'wild-cherry.sh'
|
||||
'wombat.sh'
|
||||
'wryan.sh'
|
||||
'zenburn.sh'
|
||||
)
|
||||
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
capitalize() {
|
||||
local ARGUMENT=$1
|
||||
local RES=""
|
||||
local STR=""
|
||||
local RES_NO_TRAIL_SPACE=""
|
||||
|
||||
for CHAR in $ARGUMENT
|
||||
do
|
||||
STR=$(echo "${CHAR:0:1}" | tr "[:lower:]" "[:upper:]")"${CHAR:1} "
|
||||
RES="${RES}${STR}"
|
||||
RES_NO_TRAIL_SPACE="$(echo -e "${RES}" | sed -e 's/[[:space:]]*$//')"
|
||||
done
|
||||
|
||||
echo "${RES_NO_TRAIL_SPACE}"
|
||||
}
|
||||
|
||||
set_gogh() {
|
||||
url="https://raw.githubusercontent.com/Mayccoll/Gogh/master/themes/$1"
|
||||
|
||||
# Evaluate if Gogh was called from local source - i.e cloned repo
|
||||
SCRIPT_PATH="$( cd "../$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
if [ -e "$SCRIPT_PATH/themes/$1" ]; then
|
||||
eval "$SCRIPT_PATH/themes/$1"
|
||||
else
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl
|
||||
eval "$(curl -so- "${url}")"
|
||||
else
|
||||
eval "$(wget -qO- "${url}")"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
remove_file_extension (){
|
||||
echo "${1%.*}"
|
||||
}
|
||||
|
||||
# Fancy progress bar
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl
|
||||
eval "$(curl -sLo- "https://git.io/progressbar")" 2> /dev/null
|
||||
else
|
||||
eval "$(wget -qO- "https://git.io/progressbar")" 2> /dev/null
|
||||
fi
|
||||
|
||||
bar::start 2> /dev/null
|
||||
|
||||
for THEME in "${THEMES[@]}"; do
|
||||
LOOP=$((${LOOP:-(-1)}+1))
|
||||
bar::status_changed $LOOP ${#THEMES[@]} 2> /dev/null
|
||||
|
||||
FILENAME=$(remove_file_extension "${THEME}")
|
||||
FILENAME_SPACE="${FILENAME//-/ }"
|
||||
echo -e "\nTheme: $(capitalize "${FILENAME_SPACE}")"
|
||||
for c in {0..15}; do
|
||||
echo -n "$(tput setaf $c)•$(tput sgr0)"
|
||||
[[ $c == 7 ]] && echo -n " "
|
||||
done
|
||||
echo
|
||||
set_gogh "${THEME}"
|
||||
done
|
||||
|
||||
LOOP=$((${LOOP:-(-1)}+1))
|
||||
bar::status_changed $LOOP ${#THEMES[@]} 2> /dev/null
|
||||
|
||||
bar::stop 2> /dev/null
|
||||
|
||||
unset GOGH_DRY_RUN
|
@ -34,32 +34,22 @@ PROFILE_NAME="3024 Day"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="3024 Night"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="_base"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Aci"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Aco"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Adventure Time"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Afterglow"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Alien Blood"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Argonaut"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Arthur"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Atom"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Azu"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Belafonte Day"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Belafonte Night"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Bim"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Birds Of Paradise"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Blazer"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Borland"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Broadcast"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Brogrammer"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="C64"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Cai"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Chalk"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Chalkboard"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Ciapre"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Clone of Ubuntu"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="CLRS"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Cobalt Neon"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Cobalt 2"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Crayon Pony Fish"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Dark Pastel"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Darkside"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Desert"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Dimmed Monokai"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Dracula"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Earthsong"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Elemental"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Elementary"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Elic"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Elio"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Espresso Libre"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Espresso"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Fishtank"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Flat"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Flatland"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -35,34 +35,22 @@ PROFILE_NAME="Foxnightly"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Freya"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Frontend Delight"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Frontend Fun Forrest"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Frontend Galaxy"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Github"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="gooey"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
30
themes/google-dark.sh
Normal file → Executable file
30
themes/google-dark.sh
Normal file → Executable file
@ -34,34 +34,22 @@ PROFILE_NAME="base16: Google (dark)"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
30
themes/google-light.sh
Normal file → Executable file
30
themes/google-light.sh
Normal file → Executable file
@ -34,34 +34,22 @@ PROFILE_NAME="base16: Google (light)"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Grape"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Grass"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Gruvbox Dark"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Gruvbox"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Hardcore"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Harper"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Hemisu Dark"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Hemisu Light"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Highway"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Hipster Green"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Homebrew"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Hurtado"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Hybrid"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="IC Green PPL"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="IC Orange PPL"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Idle Toes"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Ir Black"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Jackie Brown"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Japanesque"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Jellybeans"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Jup"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Kibble"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Later This Evening"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Lavandula"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Liquid Carbon Transparent"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Liquid Carbon"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Man Page"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Mar"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Material"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Mathias"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Medallion"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Misterioso"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Miu"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Molokai"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Mona Lisa"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Monokai Dark"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Monokai Soda"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="N0tch2k"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Neopolitan"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,34 +34,22 @@ PROFILE_NAME="Nep"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]
|
||||
then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Neutron"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Nightlion V1"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
@ -34,32 +34,22 @@ PROFILE_NAME="Nightlion V2"
|
||||
# =============================================================== #
|
||||
# | Apply Colors
|
||||
# ===============================================================|#
|
||||
function gogh_colors () {
|
||||
echo ""
|
||||
echo -e "\033[0;30m█████\\033[0m\033[0;31m█████\\033[0m\033[0;32m█████\\033[0m\033[0;33m█████\\033[0m\033[0;34m█████\\033[0m\033[0;35m█████\\033[0m\033[0;36m█████\\033[0m\033[0;37m█████\\033[0m"
|
||||
echo -e "\033[0m\033[1;30m█████\\033[0m\033[1;31m█████\\033[0m\033[1;32m█████\\033[0m\033[1;33m█████\\033[0m\033[1;34m█████\\033[0m\033[1;35m█████\\033[0m\033[1;36m█████\\033[0m\033[1;37m█████\\033[0m"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function curlsource() {
|
||||
f=$(mktemp -t curlsource)
|
||||
curl -o "$f" -s -L "$1"
|
||||
source "$f"
|
||||
rm -f "$f"
|
||||
}
|
||||
|
||||
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
|
||||
source $PARENT_PATH"/apply-colors.sh"
|
||||
# Allow developer to change url to forked url for easier testing
|
||||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
|
||||
|
||||
|
||||
if [ -e "${PARENT_PATH}/apply-colors.sh" ]
|
||||
then
|
||||
source "${PARENT_PATH}/apply-colors.sh"
|
||||
else
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# OSX ships with curl and ancient bash
|
||||
# Note: here, sourcing directly from curl does not work
|
||||
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
|
||||
eval "$(curl -so- "${BASE_URL}/apply-colors.sh")"
|
||||
else
|
||||
# Linux ships with wget
|
||||
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
|
||||
eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
|
||||
fi
|
||||
fi
|
||||
fi
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user