Add missing newline to end of spotify status
output (#5480)
This commit is contained in:
parent
c713407f90
commit
3de0235ad2
@ -314,7 +314,7 @@ function spotify() {
|
||||
position=$(osascript -e 'tell application "Spotify" to player position as string' | tr ',' '.');
|
||||
position=$(echo "scale=2; $position / 60" | bc | awk '{printf "%0.2f", $0}');
|
||||
|
||||
printf "$reset""Artist: %s\nAlbum: %s\nTrack: %s \nPosition: %s / %s" "$artist" "$album" "$track" "$position" "$duration";
|
||||
printf "$reset""Artist: %s\nAlbum: %s\nTrack: %s \nPosition: %s / %s\n" "$artist" "$album" "$track" "$position" "$duration";
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user