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

[[ -n "$WMII_ADDRESS"  ]] || export WMII_ADDRESS="unix!$(wmiir namespace)/wmii"
[[ -n "$WMII_DIR"      ]] || export WMII_DIR="${XDG_RUNTIME_DIR}/wmii@${DISPLAY}"

. workarounds.sh
. util.sh
. config.sh