summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
Diffstat (limited to '.config/shell/profile')
-rw-r--r--.config/shell/profile6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index d21f4a1..e5787ba 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -49,5 +49,11 @@ export PATH="$PATH:${$(find ~/.local/bin -type d -printf %p:)%%:}"
export PATH=$PATH:$HOME/.local/pbin # private bin
export PATH="$PATH:$XDG_DATA_HOME/cargo/bin"
+export MPD_HOST="localhost"
+export MPD_PORT="6600"
+
+# Mpd daemon start
+[ ! -s ~/.config/mpd/pid ] && mpd
+
# Start graphical server on user's current tty if not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"