diff --git a/apply-colors.sh b/apply-colors.sh index cfad797..e25a523 100644 --- a/apply-colors.sh +++ b/apply-colors.sh @@ -59,7 +59,16 @@ set_theme() { # | =========================================== TERMINAL=$(ps -p $(ps -p $(ps -p $$ -o ppid=) -o ppid=) -o args=) -if [ $TERMINAL = "pantheon-terminal" ]; then +if [[ $TERMINAL =~ "guake" ]]; then + # | + # | Applying values if string contains guake.main + # | ============================================= + gconftool-2 -s -t string /apps/guake/style/background/color "${BACKGROUND_COLOR}" + gconftool-2 -s -t string /apps/guake/style/font/color "${FOREGROUND_COLOR}" + gconftool-2 -s -t string /apps/guake/style/font/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}" + gconftool-2 -s -t string /apps/guake/style/font/palette_name "${PROFILE_NAME}" + +elif [ $TERMINAL = "pantheon-terminal" ]; then # | # | Applying values on pantheon-terminal # | =========================================== @@ -104,7 +113,6 @@ elif [ $TERMINAL = "mate-terminal" ]; then exit 0 - else # | # | Applying values on gnome-terminal