#!/bin/bash
# very simple wrapper script to make sure configs
# are copied for the user. Otherwise
# the user may think its broken.
LABWCCONFIGDIR="/etc/xdg/labwc"
USERCONFIGDIR="$HOME/.config/labwc"
cd
   if [ -d "$USERCONFIGDIR" ]; then
    :
   else
    mkdir ${HOME}/.config/labwc
   fi

   if [ -f "$USERCONFIGDIR/rc.xml" ]; then
    :
   else
    cp -n ${LABWCCONFIGDIR}/* ${USERCONFIGDIR}/
   fi

    /usr/libexec/labwc-tweaks-gtk
    exit

