#!/bin/sh
# make adjustments to X when appropriate
if [ -x /usr/bin/nvidia-settings ]; then
	if [ -e $HOME/.nvidia-settings-rc ]; then
		/usr/bin/nvidia-settings -l 2>/dev/null&
	fi
fi
sleep 2
# make any user gamma adjustments
if [ -x $HOME/.absgammarc ]; then
    $HOME/.absgammarc 2>/dev/null&
fi
# set the desktop background and icons 
spacefm --desktop 2>/dev/null&
#
if [ -x /usr/bin/pulseaudio ]; then
	start-pulseaudio-x11 2>/dev/null&
fi
if [ -x /usr/bin/qasmixer ]; then
	/usr/bin/qasmixer -t 2>/dev/null&
fi
if [ -x /usr/bin/nm-applet ]; then
	nm-applet 2>/dev/null&
fi
if [ -x /usr/bin/parcellite ]; then
	parcellite -d 2>/dev/null&
fi
if [ -x $HOME/.icewm/rc.gmail ]; then
	/usr/bin/qgmailnotifier 2>/dev/null&
fi
sleep 4
if [ -x $HOME/.icewm/rc.calendar ]; then
	/usr/bin/orage 2>/dev/null&
fi

