From 5525fbb797ade7c60a5ac88c34517e2c8c6238c0 Mon Sep 17 00:00:00 2001 From: mquintero Date: Fri, 19 May 2017 17:38:19 -0500 Subject: [PATCH] change conditional for elementary os --- apply-colors.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 # | ===========================================