]> git.donarmstrong.com Git - x_base.git/commitdiff
export MPD_HOST
authorDon Armstrong <don@donarmstrong.com>
Fri, 20 Mar 2015 03:47:32 +0000 (20:47 -0700)
committerDon Armstrong <don@donarmstrong.com>
Fri, 20 Mar 2015 03:47:32 +0000 (20:47 -0700)
.xsession

index 94fa4f6fe2bd1965777398f41fba8db2ea70536b..ce8b2b5275160a7b0c5812c746626bbe7032c913 100755 (executable)
--- a/.xsession
+++ b/.xsession
@@ -57,6 +57,7 @@ fi;
 if which mpd >/dev/null 2>&1 && [ -e ~/.mpdconf ]; then
     (mpd >/dev/null 2>&1 &);
     MPD_HOST=$(awk '/^bind_to_address/{print $2}' ~/.mpdconf|sed "s|~|$HOME|; s/^\"//; s/\"$//; ");
+    export MPD_HOST;
 fi;
 
 if [ -x /usr/bin/awesome ]; then