commit
7f492fa5fb
1 changed files with 9 additions and 0 deletions
9
neofetch
9
neofetch
|
@ -457,6 +457,7 @@ disk_subtitle="mount"
|
||||||
# mocp
|
# mocp
|
||||||
# mopidy
|
# mopidy
|
||||||
# mpd
|
# mpd
|
||||||
|
# muine
|
||||||
# netease-cloud-music
|
# netease-cloud-music
|
||||||
# pogo
|
# pogo
|
||||||
# pragha
|
# pragha
|
||||||
|
@ -2465,6 +2466,7 @@ get_song() {
|
||||||
"mocp"
|
"mocp"
|
||||||
"mopidy"
|
"mopidy"
|
||||||
"mpd"
|
"mpd"
|
||||||
|
"muine"
|
||||||
"netease-cloud-music"
|
"netease-cloud-music"
|
||||||
"plasma-browser-integration"
|
"plasma-browser-integration"
|
||||||
"pogo"
|
"pogo"
|
||||||
|
@ -2579,6 +2581,13 @@ get_song() {
|
||||||
awk -F':|,' '{if ($6 && $8 && $4) printf $6 "\n" $8 "\n" $4}')"
|
awk -F':|,' '{if ($6 && $8 && $4) printf $6 "\n" $8 "\n" $4}')"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"muine"*)
|
||||||
|
song="$(dbus-send --print-reply --dest=org.gnome.Muine /org/gnome/Muine/Player \
|
||||||
|
org.gnome.Muine.Player.GetCurrentSong |
|
||||||
|
awk -F':' '/^artist/ {a=$2} /^album/ {b=$2} /^title/ {t=$2}
|
||||||
|
END {print a "\n" b "\n" t}')"
|
||||||
|
;;
|
||||||
|
|
||||||
"quodlibet"*)
|
"quodlibet"*)
|
||||||
song="$(dbus-send --print-reply --dest=net.sacredchao.QuodLibet \
|
song="$(dbus-send --print-reply --dest=net.sacredchao.QuodLibet \
|
||||||
/net/sacredchao/QuodLibet net.sacredchao.QuodLibet.CurrentSong |\
|
/net/sacredchao/QuodLibet net.sacredchao.QuodLibet.CurrentSong |\
|
||||||
|
|
Loading…
Reference in a new issue