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
This commit is contained in:
parent
b6f0460b35
commit
ccced8d997
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -2417,7 +2417,7 @@ get_song() {
|
||||||
|
|
||||||
"audacious"*)
|
"audacious"*)
|
||||||
song="$(audtool current-song)"
|
song="$(audtool current-song)"
|
||||||
[[ -z "$song" ]] && get_song_dbus "audacious"
|
[[ -z "$song" || "$song_shorthand" == "on" ]] && get_song_dbus "audacious"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"cmus"*)
|
"cmus"*)
|
||||||
|
|
Loading…
Reference in a new issue