diff bin/setup-X.sh @ 495:7931adb82ce7

bin/setup-X.sh
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 13 Aug 2013 23:07:44 -0700
parents 0e99d3a68066
children f783b7d4516b
line wrap: on
line diff
--- a/bin/setup-X.sh	Mon Aug 12 15:14:10 2013 -0700
+++ b/bin/setup-X.sh	Tue Aug 13 23:07:44 2013 -0700
@@ -4,7 +4,7 @@
 for i in nm-applet gkrellm diodon # 'synapse -s'
 # To add: x-tile; qamixer (well, some mixer); gnome-activity journal
 do
-    if ! ps aux | grep ${i} | grep -v 'grep'
+    if ! pidof ${i}
     then
         echo "not running: $i"
         if which ${i}