# /etc/X11/Xsession.d/80xfree86-common_user-xsession
#
# source ~/.xsession.d/* to set up key user customized X startup
#
# GPL 2.0 (c) 2004 Osamu Aoki per suggestion of Jan Willem Stumpel


if [ -d $HOME/.xsession.d ]; then
  UXSESSIONS=$(run-parts --list $HOME/.xsession.d)
  if [ -n "$UXSESSIONS" ]; then
    for UX in $UXSESSIONS; do
      if [ -x "$UX" ]; then
        "$UX" || echo "Error in execution of script: $UX." >&2
      else
        . "$UX" || echo "Error in sourcing of script: $UX." >&2
      fi
    done
  fi
fi
