I'd like to have some GUI apps start when I log on but only if I'm using Xwindows. Is it possible I could have them called conditionally from bash_profile?