Song: Speed up Banshee song query
This commit is contained in:
parent
4b61dc1a9b
commit
622fef7780
1 changed files with 1 additions and 3 deletions
4
neofetch
4
neofetch
|
@ -1243,9 +1243,7 @@ get_song() {
|
|||
;;
|
||||
|
||||
"banshee"*)
|
||||
artist="$(banshee --query-artist | awk -F':' '{print $2}')"
|
||||
title="$(banshee --query-title | awk -F':' '{print $2}')"
|
||||
song="$artist - $title"
|
||||
song="$(banshee --query-artist --query-title | awk -F':' '/^artist/ {a=$2} /^title/ {t=$2} END{if (a && t) print a " - " t}')"
|
||||
;;
|
||||
|
||||
"amarok"*)
|
||||
|
|
Loading…
Reference in a new issue