annotate bin/setup-X.sh @ 496:f783b7d4516b

bin/setup-X.sh
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 14 Aug 2013 09:23:28 -0700
parents 7931adb82ce7
children 2e51a55d303d
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
495
7931adb82ce7 bin/setup-X.sh
Jeff Hammel <jhammel@mozilla.com>
parents: 378
diff changeset
7 if ! pidof ${i}
360
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
496
f783b7d4516b bin/setup-X.sh
Jeff Hammel <jhammel@mozilla.com>
parents: 495
diff changeset
18
f783b7d4516b bin/setup-X.sh
Jeff Hammel <jhammel@mozilla.com>
parents: 495
diff changeset
19 # ssh-add