X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.xsession;h=3ce006dfb191142b172b936ba16aed0446ab201c;hb=78e2100ed43c424dec83ad200e892cb796bd1d0c;hp=e87798dfaaf58159daeeb4dbfbbfff186cec54a5;hpb=294a8791b6e37eac86ff665ebf9e48579a45e514;p=x_base.git diff --git a/.xsession b/.xsession index e87798d..3ce006d 100755 --- a/.xsession +++ b/.xsession @@ -54,7 +54,9 @@ if which redshift >/dev/null 2>&1; then (redshift -l 40.11059:-88.20727 >/dev/null 2>&1 &) fi; -if which mpd >/dev/null 2>&1 && [ -e ~/.mpdconf ]; then +if which mopidy >/dev/null 2>&1 && [ -e ~/.config/mopidy/mopidy.conf ]; then + (mopidy > /dev/null 2>&1 & ); +elif 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;