#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  echo ' ==> Running scripts in Entering xinitrc.d/*'
  for f in /etc/X11/xinit/xinitrc.d/*; do
    echo "  -> $f"
    [ -x "$f" ] && "$f" &
  done
  unset f
  echo '  -> done'
fi

usermodmap="$HOME/.xmodmap"
if [ -f "$usermodmap" ]; then
  xmodmap "$usermodmap"
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec ck-launch-session wmii