#!/bin/bash

# This file is sourced by /etc/X11/fly-dm/Xsession, not executed.

if [ -z ${XAUTHORITY} ]; then
   export XAUTHORITY=$HOME/.Xauthority
fi
#to inform X server about ...
/usr/bin/xlsclients > /dev/null 2>&1

session="$1"

if ! test -d $HOME; then LANG=ru_RU.UTF-8 /usr/bin/fly-dialog --caption "Внимание" --error "Нет домашнего каталога ${HOME}" ; fi
