summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-07-31 21:11:02 +0530
committerkrolxon <krolyxon@tutanota.com>2025-07-31 21:11:02 +0530
commitb161ffa89a8c79a20e97f6b612edf3b73e9ae47e (patch)
tree040c3c6f111e9e43e4f0f2aaf98f8b260e96681d /.config/shell/profile
parent137402bad8f846fc37863e12c343d428ef4bfddd (diff)
start using mpd & ncmpcpp
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"