mpd
This commit is contained in:
parent
85d9c9c232
commit
f027b3290f
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue