From 940a1388a401b515a4d171ceeb2dfe3f388cd491 Mon Sep 17 00:00:00 2001 From: mquintero Date: Tue, 4 Jul 2017 13:59:30 -0500 Subject: [PATCH] fix typo - Don't use the function keyword --- apply-colors.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apply-colors.sh b/apply-colors.sh index f2eb0be..153a396 100644 --- a/apply-colors.sh +++ b/apply-colors.sh @@ -3,7 +3,7 @@ # | # | Convert RGB to gnome colors # | =========================================== -function gnome_color () { +gnome_color () { AA=${1:1:2} BB=${1:3:2} @@ -58,6 +58,7 @@ set_theme() { # | Check for the terminal name and decide how to apply # | =========================================== TERMINAL=$(ps -p $(ps -p $(ps -p $$ -o ppid=) -o ppid=) -o args=) + if [ $TERMINAL = "pantheon-terminal" ]; then # | # | Applying values on pantheon-terminal