diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-08-13 01:48:01 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-08-13 16:39:27 -0400 |
commit | b6ca8ce55f0a850e18ef032dbe0aefffaf1be2ec (patch) | |
tree | ba2af1c4ce8e0040f8cdd792c4265128e55beaea /.config/wmii-hg/include.sh | |
parent | 29028d9b2b3df8aafb6a766c074e55bf8f452437 (diff) |
Spend way too long fighting with wmii
Diffstat (limited to '.config/wmii-hg/include.sh')
-rw-r--r-- | .config/wmii-hg/include.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.config/wmii-hg/include.sh b/.config/wmii-hg/include.sh index 788e2af..f9cf4b4 100644 --- a/.config/wmii-hg/include.sh +++ b/.config/wmii-hg/include.sh @@ -4,12 +4,8 @@ if [[ -z "$XDG_RUNTIME_DIR" ]]; then 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}/wmii${DISPLAY}" -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 |