From b161ffa89a8c79a20e97f6b612edf3b73e9ae47e Mon Sep 17 00:00:00 2001 From: krolxon Date: Thu, 31 Jul 2025 21:11:02 +0530 Subject: start using mpd & ncmpcpp --- .config/shell/profile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.config/shell/profile') 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" -- cgit v1.2.3