Mercurial > hg > config
annotate bin/setup-X.sh @ 500:5af627460928
changes
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 28 Aug 2013 04:37:17 -0700 |
parents | 2e51a55d303d |
children | 155c8a6b471e |
rev | line source |
---|---|
360 | 1 #!/bin/bash |
2 | |
3 # daemons | |
378
0e99d3a68066
notes to self....that didnt quite do what we wanted :(
Jeff Hammel <jhammel@mozilla.com>
parents:
360
diff
changeset
|
4 for i in nm-applet gkrellm diodon # 'synapse -s' |
0e99d3a68066
notes to self....that didnt quite do what we wanted :(
Jeff Hammel <jhammel@mozilla.com>
parents:
360
diff
changeset
|
5 # To add: x-tile; qamixer (well, some mixer); gnome-activity journal |
360 | 6 do |
495 | 7 if ! pidof ${i} |
360 | 8 then |
9 echo "not running: $i" | |
10 if which ${i} | |
11 then | |
12 ${i} & | |
13 fi | |
14 fi | |
378
0e99d3a68066
notes to self....that didnt quite do what we wanted :(
Jeff Hammel <jhammel@mozilla.com>
parents:
360
diff
changeset
|
15 done |
0e99d3a68066
notes to self....that didnt quite do what we wanted :(
Jeff Hammel <jhammel@mozilla.com>
parents:
360
diff
changeset
|
16 |
0e99d3a68066
notes to self....that didnt quite do what we wanted :(
Jeff Hammel <jhammel@mozilla.com>
parents:
360
diff
changeset
|
17 # TODO: add workspace specific programs |
496 | 18 |
497 | 19 # ssh-add |
20 if [[ `ssh-add -l` != *id_?sa* ]] | |
21 then | |
22 SSH_ASKPASS=/usr/bin/ksshaskpass | |
23 if [[ -e $SSH_ASKPASS ]] | |
24 then | |
25 ssh-add | |
26 fi | |
27 fi |