Mercurial > hg > config
comparison bin/setup-X.sh @ 378:0e99d3a68066
notes to self....that didnt quite do what we wanted :(
| author | Jeff Hammel <jhammel@mozilla.com> | 
|---|---|
| date | Wed, 24 Jul 2013 19:36:46 -0700 | 
| parents | d0da972238d0 | 
| children | 7931adb82ce7 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 377:b1c43c980b05 | 378:0e99d3a68066 | 
|---|---|
| 1 #!/bin/bash | 1 #!/bin/bash | 
| 2 | 2 | 
| 3 # daemons | 3 # daemons | 
| 4 for i in nm-applet gkrellm diodon | 4 for i in nm-applet gkrellm diodon # 'synapse -s' | 
| 5 # To add: x-tile; qamixer (well, some mixer); gnome-activity journal | |
| 5 do | 6 do | 
| 6 if ! ps aux | grep ${i} | grep -v 'grep' | 7 if ! ps aux | grep ${i} | grep -v 'grep' | 
| 7 then | 8 then | 
| 8 echo "not running: $i" | 9 echo "not running: $i" | 
| 9 if which ${i} | 10 if which ${i} | 
| 10 then | 11 then | 
| 11 ${i} & | 12 ${i} & | 
| 12 fi | 13 fi | 
| 13 fi | 14 fi | 
| 14 done | 15 done | 
| 16 | |
| 17 # TODO: add workspace specific programs | 
