# -*- mode: shell-script -*-

# -----[ Set background ]---------------------------------------------
xsetroot -solid black

# -----[ Modify keys ]------------------------------------------------
xmodmap ~/.Xmodmap

# -----[ Start some programs ]----------------------------------------
conky
numlockx &

# mpdscribble
pidof mpdscribble >& /dev/null
if [ $? -ne 0 ]
then
    mpdscribble &
fi

# -----[ Repeatedly set rootname ]------------------------------------
while :; do
    xsetroot -name "`~/.rootname.scm`"
    sleep 1m
done &

# -----[ Start session ]----------------------------------------------
exec ck-launch-session ~/development/projects/dwm/dwm