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/aliasrc | 2 +- .config/shell/profile | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to '.config/shell') diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 61f9094..945f226 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -26,7 +26,7 @@ alias \ # yt="yt-dlp --embed-metadata -i -o '%(title)s.%(ext)s' --external-downloader=aria2c" \ -alias on="tmux new-session -s notes -c ~/dox/brain" +alias on="tmux new-session -s notes -c ~/dox/brain 'nvim .'" alias todo="nvim ~/dox/brain/Todo.md" # Colorize commands when possible. 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