[mpd] fix: checking for existing instance
This commit is contained in:
parent
abf306c99f
commit
296518e619
@ -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 &
|
||||
|
Reference in New Issue
Block a user