1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

change conditional for elementary os

This commit is contained in:
mquintero 2017-05-19 18:10:23 -05:00
parent 5525fbb797
commit 5016bf9649

View File

@ -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
# | ===========================================