annotate bin/setup-X.sh @ 476:9d81ec713f1b

python/hgrc.py
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 10 Aug 2013 19:15:40 -0700
parents 0e99d3a68066
children 7931adb82ce7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
360
d0da972238d0 adding program to setup X
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 #!/bin/bash
d0da972238d0 adding program to setup X
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2
d0da972238d0 adding program to setup X
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
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
d0da972238d0 adding program to setup X
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 do
d0da972238d0 adding program to setup X
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 if ! ps aux | grep ${i} | grep -v 'grep'
d0da972238d0 adding program to setup X
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 then
d0da972238d0 adding program to setup X
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9 echo "not running: $i"
d0da972238d0 adding program to setup X
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 if which ${i}
d0da972238d0 adding program to setup X
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11 then
d0da972238d0 adding program to setup X
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 ${i} &
d0da972238d0 adding program to setup X
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
13 fi
d0da972238d0 adding program to setup X
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
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