]> git.donarmstrong.com Git - x_base.git/blobdiff - .xsession
use pixelsize
[x_base.git] / .xsession
index e87798dfaaf58159daeeb4dbfbbfff186cec54a5..6e39043557a9d914fd81fdb62424cb69ce80068e 100755 (executable)
--- a/.xsession
+++ b/.xsession
@@ -54,12 +54,18 @@ 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;
 fi;
 
+if [ -x /sbin/iw ] && which nm-applet >/dev/null 2>&1 && /sbin/iw list|grep -q '^Wiphy'; then
+    ( nm-applet > /dev/null 2>&1 & );
+fi;
+
 if [ -x /usr/bin/i3 ]; then
     if [ -x ~/.config/i3/build_config.sh ]; then
         ~/.config/i3/build_config.sh;