Merge pull request #1023 from mstraube/pragha
song: use get_song_dbus for pragha
This commit is contained in:
commit
daf866039e
1 changed files with 1 additions and 5 deletions
6
neofetch
6
neofetch
|
@ -2369,6 +2369,7 @@ get_song() {
|
|||
"audacious"*) get_song_dbus "audacious" ;;
|
||||
"vlc"*) get_song_dbus "vlc" ;;
|
||||
"gmusicbrowser"*) get_song_dbus "gmusicbrowser" ;;
|
||||
"pragha"*) get_song_dbus "pragha" ;;
|
||||
|
||||
"cmus"*)
|
||||
song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "};
|
||||
|
@ -2414,11 +2415,6 @@ get_song() {
|
|||
END {print a " \n " b " \n " t}')"
|
||||
;;
|
||||
|
||||
"pragha"*)
|
||||
song="$(pragha -c | awk -F':' '/^artist/ {a=$2} /^album/ {b=$2} /^title/ {t=$2}
|
||||
END {print a " \n " b " \n " t}')"
|
||||
;;
|
||||
|
||||
"exaile"*)
|
||||
song="$(dbus-send --print-reply --dest=org.exaile.Exaile /org/exaile/Exaile \
|
||||
org.exaile.Exaile.Query |
|
||||
|
|
Loading…
Reference in a new issue