From 6b320e6249086038a2ae776d31003a4654699445 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Sat, 13 Feb 2021 17:12:58 +0100 Subject: [PATCH] fix: fix the way `mpd` is launched at startup --- .xprofile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.xprofile b/.xprofile index 23436e6..3dac138 100644 --- a/.xprofile +++ b/.xprofile @@ -7,7 +7,8 @@ xss-lock -- slock & redshift & dunst -follow mouse &> /dev/null & #temp fix -mpd & +# MPD daemon start (if no other user instance exists) +[ ! -s ~/.config/mpd/pid ] && mpd amixer set Master 50% sbacklight set 3 & bat_notify &