song: Added support for plasma-browser-integration

This commit is contained in:
Dylan Araps 2019-05-01 13:34:42 +03:00
parent c7685b4cfb
commit ad16b5925c
1 changed files with 3 additions and 1 deletions

View File

@ -2426,6 +2426,7 @@ get_song() {
"mopidy" "mopidy"
"mpd" "mpd"
"netease-cloud-music" "netease-cloud-music"
"plasma-browser-integration"
"pogo" "pogo"
"pragha" "pragha"
"qmmp" "qmmp"
@ -2487,6 +2488,7 @@ get_song() {
"rhythmbox"*) get_song_dbus "rhythmbox" ;; "rhythmbox"*) get_song_dbus "rhythmbox" ;;
"strawberry"*) get_song_dbus "strawberry" ;; "strawberry"*) get_song_dbus "strawberry" ;;
"netease-cloud-music"*) get_song_dbus "netease-cloud-music" ;; "netease-cloud-music"*) get_song_dbus "netease-cloud-music" ;;
"plasma-browser-integration"*) get_song_dbus "plasma-browser-integration" ;;
"cmus"*) "cmus"*)
song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "}; song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "};