# /etc/X11/Xsession.d/80xfree86-common_user-xsession
#
# source ~/.xsession.d/* to set up key user customized X startup
#
# This uses the function run_parts defined in /etc/X11/Xsession. Not
# to be confused with the Debian utility run-parts, which can only
# run files, not list them.
#
# GPL 2.0 (c) 2004 Osamu Aoki per suggestion of Jan Willem Stumpel


if [ -d $HOME/.xsession.d ]; then
  UXSESSIONS=$(run_parts $HOME/.xsession.d)
  if [ -n "$UXSESSIONS" ]; then
    for UX in $UXSESSIONS; do
      if [ -x "$UX" ]; then
        "$UX"
      else
        . "$UX"
      fi
    done
  fi
fi
