From af4cf16bf4ec5c9ad4a93d71f715fdf14c88db6d Mon Sep 17 00:00:00 2001 From: ncmprhnsbl Date: Thu, 17 Sep 2020 21:58:37 +1000 Subject: [PATCH] add song= support for MellowPlayer using get_song_dbus (#1558) * add song= support for MellowPlayer using get_song_dbus * adjusted indent for mellowplayer get_song_dbus Co-authored-by: ncmprhnsb1 --- neofetch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neofetch b/neofetch index 0df70a8a..bce4e2a9 100755 --- a/neofetch +++ b/neofetch @@ -508,6 +508,7 @@ disk_percent="on" # iTunes # juk # lollypop +# MellowPlayer # mocp # mopidy # mpd @@ -2696,6 +2697,7 @@ get_song() { "iTunes" "juk" "lollypop" + "MellowPlayer" "mocp" "mopidy" "mpd" @@ -2772,6 +2774,7 @@ get_song() { "netease-cloud-music"*) get_song_dbus "netease-cloud-music" ;; "plasma-browser-integration"*) get_song_dbus "plasma-browser-integration" ;; "io.elementary.music"*) get_song_dbus "Music" ;; + "MellowPlayer"*) get_song_dbus "MellowPlayer3" ;; "mpd"* | "mopidy"*) song="$(mpc -f '%artist% \n%album% \n%title%' current "${mpc_args[@]}")"