song: fix audacious album

fallback to get_song_dbus() when song_shorthand is on
audtool won't work due to the '-' separator in it's output
master
Michael Straube 8 years ago
parent b6f0460b35
commit ccced8d997
  1. 2
      neofetch

@ -2417,7 +2417,7 @@ get_song() {
"audacious"*)
song="$(audtool current-song)"
[[ -z "$song" ]] && get_song_dbus "audacious"
[[ -z "$song" || "$song_shorthand" == "on" ]] && get_song_dbus "audacious"
;;
"cmus"*)

Loading…
Cancel
Save