view 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 source

#!/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