fix: mpd startup and statusbar music block

This commit is contained in:
David JULIEN 2021-09-09 22:16:15 +02:00
parent b71f77f9c8
commit 91bee9981d
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ xss-lock -- slock &
redshift &
dunst -follow mouse &> /dev/null & #temp fix
# MPD daemon start (if no other user instance exists)
[ ! -s "$XDG_CONFIG_HOME/mpd/pid" ] && mpd
[ -z "$(pidof mpd)" ] && mpd
[ -z "$(pgrep -f sb-mpdup)" ] && sb-mpdup &
pulsemixer --set-volume 50
sbacklight set 3 &
setbg &