Mercurial > hg > config
annotate bin/setup-X.sh @ 520:3281b9fe4433
wip
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 20 Sep 2013 08:43:59 -0700 |
parents | dfd5357403aa |
children | 42d3418e9154 |
rev | line source |
---|---|
360 | 1 #!/bin/bash |
2 | |
503 | 3 ### daemons |
4 # nm-applet: network manager | |
5 # gkrellm: system monitor | |
6 # diodon: clipboard manager | |
7 # arbtt-capture: arbitrary time tracker (redundant with tracker?) | |
378
0e99d3a68066
notes to self....that didnt quite do what we wanted :(
Jeff Hammel <jhammel@mozilla.com>
parents:
360
diff
changeset
|
8 # To add: x-tile; qamixer (well, some mixer); gnome-activity journal |
503 | 9 for i in nm-applet gkrellm diodon arbtt-capture |
360 | 10 do |
503 | 11 if which ${i} |
360 | 12 then |
503 | 13 if ! pidof ${i} |
360 | 14 then |
503 | 15 echo "not running: $i" |
360 | 16 ${i} & |
17 fi | |
18 fi | |
378
0e99d3a68066
notes to self....that didnt quite do what we wanted :(
Jeff Hammel <jhammel@mozilla.com>
parents:
360
diff
changeset
|
19 done |
0e99d3a68066
notes to self....that didnt quite do what we wanted :(
Jeff Hammel <jhammel@mozilla.com>
parents:
360
diff
changeset
|
20 |
0e99d3a68066
notes to self....that didnt quite do what we wanted :(
Jeff Hammel <jhammel@mozilla.com>
parents:
360
diff
changeset
|
21 # TODO: add workspace specific programs |
496 | 22 |
497 | 23 # ssh-add |
24 if [[ `ssh-add -l` != *id_?sa* ]] | |
25 then | |
26 SSH_ASKPASS=/usr/bin/ksshaskpass | |
27 if [[ -e $SSH_ASKPASS ]] | |
28 then | |
503 | 29 SSH_ASKPASS=${SSH_ASKPASS} ssh-add |
497 | 30 fi |
31 fi |