view bin/setup-X.sh @ 499:84a865a880a8

a new way to view diffs based on sorted lines
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 23 Aug 2013 08:25:41 -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