This commit is contained in:
Cheri 2021-03-23 09:53:51 +02:00 committed by vibikim
parent 85d9c9c232
commit f027b3290f
2 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,8 @@ if [ -z "`pgrep -x $1`" ]; then
if [ "$1" = mpd ]; then if [ "$1" = mpd ]; then
sleep 1 sleep 1
mpd-mpris & mpd-mpris &
mpd-rpc & mpd-rpc --no-idle --dont-broadcast-the-paused-state &
#those tho will kill themselves when mpd gets killed so we're good
fi fi
notify-send $1 "is now enabled" notify-send $1 "is now enabled"
else else

View file

@ -41,7 +41,7 @@ discard_colors_if_item_is_selected = "yes"
mpd_host = localhost mpd_host = localhost
mpd_port = 6600 mpd_port = 6600
mpd_connection_timeout = 5 mpd_connection_timeout = 5
mpd_music_dir = /run/media/vibikim/WAD/Music mpd_music_dir = /run/media/vibbe/WAD/Music
execute_on_song_change = notify-send "Now Playing" "$(mpc --format '%title% \n %artist% - %album%' current)" execute_on_song_change = notify-send "Now Playing" "$(mpc --format '%title% \n %artist% - %album%' current)"