#!/bin/sh
#
# Xsession
#
# This is the program that is run as the client
# for the display manager.

case $# in
1)
     case $1 in
     failsafe)
          exec xterm -geometry 80x24-0-0 -ls
          ;;
     esac
esac

startup=$HOME/.xsession
resources=$HOME/.Xresources

if [ -f $startup ]; then
     exec $startup
else
     if [ -f $resources ]; then
          xrdb -load $resources
     fi
# put '#' in lines below to disable them and remove the '#' from the fvwm line
# to use this window manager
          (sleep 1; exec xterm -geometry 90x49+5+5 -ls -sb -sl 250 -tn xterm) &
          (sleep 2; exec xterm -geometry 90x49+125+75 -ls -sb -sl 250 -tn xterm) &
          (sleep 3; exec xterm -geometry 90x49+250+150 -ls -sb -sl 250 -tn xterm) &
          (sleep 4; exec xterm -geometry 40x20-5+250 -ls -sb -tn xterm) &
          (sleep 5; exec xclock -geometry 80x80-0+0 ) &
          (sleep 6; exec xload -geometry 120x90-5-120 ) &
          (sleep 7; exec xeyes -geometry 70x70-450+0 ) &
          (sleep 8; exec xbiff -geometry 80x80-140-120 ) &
          (sleep 10; exec xman -geometry 120x60-65+0 ) &
#         (sleep 11; exec xmodmap ~/german ) &
          exec twm
#         exec fvwm
fi
