[download]

local/bin/music-menu

   1 #!/bin/bash
   2 
   3 music || mocp -S &
   4 
   5 printf '%s\n' pause play stop prev next 'seek -10' 'seek +10' | xargs -I % icon music-% % |
   6 menu -i music -p "$(music | cut -d ' ' -f 2-)" | cut -d ' ' -f 2- | xargs -r music