From 5016bf9649142947c1ccb54bedbf1deb4e6b2cc9 Mon Sep 17 00:00:00 2001 From: mquintero Date: Fri, 19 May 2017 18:10:23 -0500 Subject: [PATCH] change conditional for elementary os --- apply-colors.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apply-colors.sh b/apply-colors.sh index 261b2e2..ecaa24c 100644 --- a/apply-colors.sh +++ b/apply-colors.sh @@ -14,9 +14,9 @@ function gnome_color () { # | # | Check for the terminal name and decide how to apply -TERMINAL=$(ps -o comm= $PPID) # | =========================================== -if [ $TERMINAL = "pantheon-terminal-" ]; then +TERMINAL=$(ps -p $(ps -p $(ps -p $$ -o ppid=) -o ppid=) -o args=) +if [ $TERMINAL = "pantheon-terminal" ]; then # | # | Applying values on pantheon-terminal # | ===========================================