1
0
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:
phenonymous 2018-11-27 21:11:54 +01:00
parent e8195e927b
commit 851ac59dfd
2 changed files with 11 additions and 10 deletions

18
apply-colors.sh Executable file → Normal file
View File

@ -3,10 +3,12 @@
# |
# | Early pre-requisites check
# | ===========================================
UUIDGEN="${UUIDGEN:-$(command -v uuidgen)}"
DCONF="${DCONF:-$(command -v dconf)}"
GCONF="${GCONF:-$(command -v gconftool-2)}"
GS="${GS:-$(command -v gsettings)}"
UUIDGEN="${UUIDGEN:-$(command -v uuidgen | xargs echo)}"
DCONF="${DCONF:-$(command -v dconf | xargs echo)}"
GCONF="${GCONF:-$(command -v gconftool-2 | xargs echo)}"
GS="${GS:-$(command -v gsettings | xargs echo)}"
# Note: xargs echo is to make the command sucessful even if it was not
# otherwise the script will exit if the command does not exist (elementary os)
case "${TERMINAL}" in
pantheon-terminal|io.elementary.t* )
@ -175,11 +177,11 @@ set_theme() {
dset foreground-color "'${FOREGROUND_COLOR}'"
if [[ -n "${BOLD_COLOR:-}" ]]; then
dset bold-color "'${BOLD_COLOR}'"
dset bold-color-same-as-fg "false"
dset bold-color "'${BOLD_COLOR}'"
dset bold-color-same-as-fg "false"
else
dset bold-color "'${FOREGROUND_COLOR}'"
dset bold-color-same-as-fg "true"
dset bold-color "'${FOREGROUND_COLOR}'"
dset bold-color-same-as-fg "true"
fi
dset use-theme-colors "false"
dset use-theme-background "false"

View File

@ -1,6 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
export SHELLOPTS
declare -a THEMES=(
'3024-day.sh'
'3024-night.sh'