Merge pull request #1324 from arisinfenix/song
song: add comment about cmus mpris support
This commit is contained in:
commit
0bcd638938
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -2521,6 +2521,7 @@ get_song() {
|
||||||
"plasma-browser-integration"*) get_song_dbus "plasma-browser-integration" ;;
|
"plasma-browser-integration"*) get_song_dbus "plasma-browser-integration" ;;
|
||||||
|
|
||||||
"cmus"*)
|
"cmus"*)
|
||||||
|
# NOTE: cmus >= 2.8.0 supports mpris2
|
||||||
song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "};
|
song="$(cmus-remote -Q | awk 'BEGIN { ORS=" "};
|
||||||
/tag artist/ {
|
/tag artist/ {
|
||||||
$1=$2=""; sub(" ", ""); a=$0
|
$1=$2=""; sub(" ", ""); a=$0
|
||||||
|
|
Loading…
Reference in a new issue