10-music.sh 132 B

123456
  1. #!/bin/sh
  2. if playerctl metadata; then
  3. echo "$(playerctl metadata artist) - $(playerctl metadata title)"
  4. else
  5. mpc current
  6. fi