diff --git a/apply-colors.sh b/apply-colors.sh index bfcdfd4..261b2e2 100644 --- a/apply-colors.sh +++ b/apply-colors.sh @@ -14,8 +14,9 @@ function gnome_color () { # | # | Check for the terminal name and decide how to apply +TERMINAL=$(ps -o comm= $PPID) # | =========================================== -if [ $(ps -p $(ps -p $(ps -p $$ -o ppid=) -o ppid=) -o args=) = "pantheon-terminal" ]; then +if [ $TERMINAL = "pantheon-terminal-" ]; then # | # | Applying values on pantheon-terminal # | ===========================================