view bin/setup-X.sh @ 501:f9a4e1572b54

add http://pietrushnic.blogspot.com/2012/02/arbtt-as-productivity-improver-for.html#.Uh_LB5WZi1E
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 29 Aug 2013 15:36:08 -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