From ccced8d99731fde8efed30ea08817583e03aaae9 Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Wed, 9 May 2018 15:52:51 +0200 Subject: [PATCH] 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 --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 29cbab24..7742e91d 100755 --- a/neofetch +++ b/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"*)