# start hime
# vim: set sts=4 expandtab:

if [ "$IM_CONFIG_PHASE" = 2 ]; then
# start hime daemon
/usr/bin/hime &
fi

if [ "$IM_CONFIG_PHASE" = 1 ]; then
# set variables for the plain XIM
XMODIFIERS=@im=hime

# Let's assume all required modules are installed
GTK_IM_MODULE=hime
QT4_IM_MODULE=hime
QT_IM_MODULE=hime
# hime has no clutter support
CLUTTER_IM_MODULE=xim

fi
