if [ "$1" = "purge" ] && command -v register-window-manager >/dev/null 2>&1
then
	register-window-manager --remove #WM#
fi
