mirror of
https://github.com/Mayccoll/Gogh.git
synced 2023-08-10 21:12:46 +03:00
Add colorcli and relaxed themes
This commit is contained in:
parent
b8ac273279
commit
f57f634101
@ -33,6 +33,8 @@ GLOBAL_VAR_CLEANUP() {
|
||||
unset BACKGROUND_COLOR
|
||||
unset FOREGROUND_COLOR
|
||||
unset CURSOR_COLOR
|
||||
unset HIGHLIGHT_FG_COLOR
|
||||
unset HIGHLIGHT_BG_COLOR
|
||||
unset PROFILE_NAME
|
||||
}
|
||||
|
||||
@ -235,6 +237,12 @@ set_theme() {
|
||||
dset background-color "'${BACKGROUND_COLOR}'"
|
||||
dset foreground-color "'${FOREGROUND_COLOR}'"
|
||||
|
||||
if [[ -n "${HIGHLIGHT_BG_COLOR:-}" ]]; then
|
||||
dset highlight-colors-set "true"
|
||||
dset highlight-background-color "${HIGHLIGHT_BG_COLOR}"
|
||||
dset highlight-foreground-color "${HIGHLIGHT_FG_COLOR:-$FOREGROUND_COLOR}"
|
||||
fi
|
||||
|
||||
if [[ -n "${BOLD_COLOR:-}" ]]; then
|
||||
dset bold-color "'${BOLD_COLOR}'"
|
||||
dset bold-color-same-as-fg "false"
|
||||
|
4
gogh.sh
4
gogh.sh
@ -11,6 +11,8 @@ GLOBAL_VAR_CLEANUP(){
|
||||
|
||||
trap 'GLOBAL_VAR_CLEANUP; trap - EXIT' EXIT HUP INT QUIT PIPE TERM
|
||||
|
||||
# TO-DO: Investigate dynamically building this array e.g.
|
||||
# curl -s https://github.com/Mayccoll/Gogh/tree/master/themes | grep -o "title=.*\.sh\" " | awk -F '=' '{print $2}'
|
||||
declare -a THEMES=(
|
||||
'3024-day.sh'
|
||||
'3024-night.sh'
|
||||
@ -40,6 +42,7 @@ declare -a THEMES=(
|
||||
'clrs.sh'
|
||||
'cobalt2.sh'
|
||||
'cobalt-neon.sh'
|
||||
'colorcli.sh'
|
||||
'crayon-pony-fish.sh'
|
||||
'dark-pastel.sh'
|
||||
'darkside.sh'
|
||||
@ -141,6 +144,7 @@ declare -a THEMES=(
|
||||
'pro.sh'
|
||||
'red-alert.sh'
|
||||
'red-sands.sh'
|
||||
'relaxed.sh'
|
||||
'rippedcasts.sh'
|
||||
'royal.sh'
|
||||
'sat.sh'
|
||||
|
Loading…
Reference in New Issue
Block a user