This commit is contained in:
vibikim 2021-03-23 09:53:51 +02:00
parent d45f07e9b1
commit c043cf2611
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
sleep 1
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
notify-send $1 "is now enabled"
else

View file

@ -41,7 +41,7 @@ discard_colors_if_item_is_selected = "yes"
mpd_host = localhost
mpd_port = 6600
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)"