mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 03:37:12 +00:00
Merge pull request #569 from mstraube/exaile
Song: Fix Exaile song query
This commit is contained in:
3
neofetch
3
neofetch
@@ -1262,8 +1262,7 @@ get_song() {
|
|||||||
|
|
||||||
"exaile"*)
|
"exaile"*)
|
||||||
song="$(dbus-send --print-reply --dest=org.exaile.Exaile /org/exaile/Exaile \
|
song="$(dbus-send --print-reply --dest=org.exaile.Exaile /org/exaile/Exaile \
|
||||||
org.exaile.Exaile.Query | awk -F':|,' '{printf $6 " -" $4}')"
|
org.exaile.Exaile.Query | awk -F':|,' '{if ($6 && $4) printf $6 " -" $4}')"
|
||||||
song="${song:3}"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user