From 296518e619ee39a4c5599cf0474a23d484a01d90 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Mon, 14 Nov 2022 11:06:51 +0100 Subject: [PATCH] [mpd] fix: checking for existing instance --- .config/X11/xprofile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/X11/xprofile b/.config/X11/xprofile index 1231896..a6d14fd 100644 --- a/.config/X11/xprofile +++ b/.config/X11/xprofile @@ -9,7 +9,7 @@ xss-lock -- slock & redshift & dunst &> /dev/null & #temp fix # MPD daemon start (if no other user instance exists) -[ ! -s "$XDG_CONFIG_HOME/mpd/pid" ] && mpd +[ -z "$(pgrep -fx mpd)" ] && mpd [ -z "$(pgrep -f sb-mpdup)" ] && sb-mpdup & pulsemixer --set-volume 50 sbacklight set 3 &