#!/bin/sh
#
# openbox startup-script:

# Applications you want to run with openbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
[ -x /usr/bin/tint2 ] && tint2 &
[ -x /usr/bin/nitrogen ] && nitrogen --restore 
# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval `dbus-launch --sh-syntax --exit-with-session`
fi

(sleep 1 && [ -x /usr/libexec/menu-cached ] && /usr/libexec/menu-cached) &
(sleep 1 && [ -x /usr/bin/wicd-gtk ] && wicd-gtk) &
(sleep 1 && [ -x /usr/bin/parcellite ] && parcellite) &
(sleep 1 && [ -x /usr/bin/volti ] && volti) &
(sleep 8 && [ -x /usr/bin/salix-update-notifier ] && salix-update-notifier) &
(sleep 9 && [ -x /usr/bin/xscreensaver ] && xscreensaver -nosplash) &
