Fix sb-music to reduce clutter
This commit is contained in:
parent
2151f02b91
commit
33325cb475
|
@ -18,7 +18,7 @@ if status="$(playerctl "$@" status 2>&1)" && [ "$status" != "Stopped" ]; then
|
|||
currentSong="$(playerctl "$@" metadata --format "{{title}} - {{artist}}")"
|
||||
else
|
||||
[ "$(mpc status "%state%")" = "paused" ] && icon="$pausedIcon"
|
||||
currentSong="$(mpc current -f "%title%[ - %artist%]")"
|
||||
currentSong="$(mpc current -f "%title%")"
|
||||
fi
|
||||
|
||||
[ -z "$currentSong" ] && exit
|
||||
|
|
Loading…
Reference in a new issue