#!/bin/sh
#
# /etc/X11/wdm/Xsetup_0
#
# This script is run whenever wdm is asked to manage a display on :0

if grep -q ^run-xconsole /etc/X11/wdm/wdm.options; then
  xconsole -geometry 480x62+0-0 -daemon -notify -verbose -fn fixed \
    -exitOnFail -file /dev/xconsole
fi

if grep -q ^run-drmvkbd /etc/X11/wdm/wdm.options; then
  /doremi/X11R6/bin/drmvkbd.out -bottom 0 -noclose -noupdown &
elif grep -q ^run-xvkbd /etc/X11/wdm/wdm.options; then
  /usr/X11R6/bin/xvkbd -no-functionkey -geometry 528x128+55-0 &
fi
