summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <me@aminb.org>2014-11-24 21:07:33 -0500
committerAmin Bandali <me@aminb.org>2014-11-24 21:07:33 -0500
commitfaafd14a401e9b4abc401235578fd9fa99019e7c (patch)
treec36666d1c9dd43310bce20bf3c99d4c19be094dc
parentc6be1079d6a56978efb98164061c7b72b178f368 (diff)
downloadconfigs-faafd14a401e9b4abc401235578fd9fa99019e7c.tar.gz
configs-faafd14a401e9b4abc401235578fd9fa99019e7c.tar.xz
configs-faafd14a401e9b4abc401235578fd9fa99019e7c.zip
start MPD on login
-rwxr-xr-xx/.xinitrc3
1 files changed, 3 insertions, 0 deletions
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