bin

git clone git://git.codymlewis.com/bin.git
Log | Files | Refs

dmenumpc (251B)


      1 #!/bin/bash
      2 
      3 artist="$(mpc list Artist | dmenu -i -p 'Choose an Artist')"
      4 
      5 [[ $artist = "" ]] && exit
      6 
      7 title="$(mpc list Title Artist "$artist" | dmenu -i -p 'Choose a Song')"
      8 
      9 [[ $title = "" ]] && exit
     10 
     11 mpc searchplay Artist "$artist" Title "$title"