diff bin/setup-X.sh @ 360:d0da972238d0

adding program to setup X
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 02 Jul 2013 11:17:37 -0700
parents
children 0e99d3a68066
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/setup-X.sh	Tue Jul 02 11:17:37 2013 -0700
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+# daemons
+for i in nm-applet gkrellm diodon
+do
+    if ! ps aux | grep ${i} | grep -v 'grep'
+    then
+        echo "not running: $i"
+        if which ${i}
+        then
+            ${i} &
+        fi
+    fi
+done
\ No newline at end of file