view bin/setup-X.sh @ 500:5af627460928

changes
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 28 Aug 2013 04:37:17 -0700
parents 2e51a55d303d
children 155c8a6b471e
line wrap: on
line source

#!/bin/bash

# daemons
for i in nm-applet gkrellm diodon # 'synapse -s'
# To add: x-tile; qamixer (well, some mixer); gnome-activity journal
do
    if ! pidof ${i}
    then
        echo "not running: $i"
        if which ${i}
        then
            ${i} &
        fi
    fi
done

# TODO: add workspace specific programs

# ssh-add
if [[ `ssh-add -l` != *id_?sa* ]]
then
 SSH_ASKPASS=/usr/bin/ksshaskpass
 if [[ -e $SSH_ASKPASS ]]
 then
   ssh-add
 fi
fi