Song: Fix Exaile song query
This commit is contained in:
parent
c25cc146a1
commit
8c9b474d1b
1 changed files with 1 additions and 2 deletions
3
neofetch
3
neofetch
|
@ -1262,8 +1262,7 @@ get_song() {
|
|||
|
||||
"exaile"*)
|
||||
song="$(dbus-send --print-reply --dest=org.exaile.Exaile /org/exaile/Exaile \
|
||||
org.exaile.Exaile.Query | awk -F':|,' '{printf $6 " -" $4}')"
|
||||
song="${song:3}"
|
||||
org.exaile.Exaile.Query | awk -F':|,' '{if ($6 && $4) printf $6 " -" $4}')"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in a new issue