From 340e4a91900ef6d406506c903439218060569d0d Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Thu, 11 Mar 2021 13:12:42 +0100 Subject: [PATCH] fix: output format --- .local/bin/statusbar/sb-music | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/sb-music b/.local/bin/statusbar/sb-music index 7b5d802..0202cb8 100755 --- a/.local/bin/statusbar/sb-music +++ b/.local/bin/statusbar/sb-music @@ -22,4 +22,4 @@ status="$(echo "$mpc" | tail -n2 | format)" pgrep -f sb-mpdup >/dev/null 2>&1 || sb-mpdup >/dev/null 2>&1 & -[ -n "$status" ] && printf " %s %s - %s " "$status" "$artist" "$title" +[ -n "$status" ] && printf " %s %s-%s " "$status" "$artist" "$title"