1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Update gogh.sh

This commit is contained in:
Kristoffer Minya 2018-11-07 17:20:54 +01:00 committed by GitHub
parent 88f07d545d
commit f4f280d78c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -318,7 +318,8 @@ if [[ "${COLORTERM:-}" == "truecolor" ]] || [[ "${COLORTERM:-}" == "24bit" ]]; t
# 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 () {
for c in {01..16}; do
# 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"