1 2 3 4 5
#!/bin/bash song_info=$(playerctl metadata --format '{{title}} {{artist}}') echo "$song_info"