From: Amin Bandali Date: Tue, 25 Nov 2014 02:07:33 +0000 (-0500) Subject: start MPD on login X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/faafd14a401e9b4abc401235578fd9fa99019e7c?ds=sidebyside start MPD on login --- diff --git a/x/.xinitrc b/x/.xinitrc index f0f1b81..e6f0f41 100755 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -31,6 +31,9 @@ synclient VertScrollDelta=-237 synclient HorizScrollDelta=-237 sxhkd & +# MPD daemon start (if no other instance exists) +[ -z $(pidof mpd) ] && mpd & + # screen powersave xset +dpms xset dpms 0 0 300