#!/bin/sh

# this could potentially leave a user with two jasima.json files post config
# change but that's fine
if test -z "$JASIMA"
	then test -n "$XDG_CONFIG_HOME" \
		&& JASIMA="$XDG_CONFIG_HOME"/tokipona/jasima.json \
		|| JASIMA="$HOME"/.tokipona/jasima.json
fi

test -n "$JASIMA_URL" \
	|| JASIMA_URL=https://linku.la/jasima/data.json
