summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/include.sh
blob: f8c4e0db67dfb84451c5bd44369295c2020ed7a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/hint/bash
if [[ -z "$XDG_RUNTIME_DIR" ]]; then
	printf "XDG_RUNTIME_DIR isn't set\n" >&2
	exit 6
fi

if [[ -z "$WMII_NAMESPACE" ]]; then
	export WMII_NAMESPACE="$(wmiir namespace)"
fi
if [[ -z "$WMII_DIR" ]]; then
	export WMII_DIR="${XDG_RUNTIME_DIR}/n/wmii${DISPLAY}"
fi

. util.sh
. config.sh