git.fiddlerwoaroof.com
scripts/dmenu_queue_mpd
1359b622
 #!/usr/bin/zsh
 
423b15db
 chosen=`mpc playlist -f "[%position%: %artist% - %album% - %title%]" | menu | cut -d: -f 1`
1359b622
 (( target=(`mpc current -f "[%position%]"` + 1) ))
 
a0d71cd9
 if [[ "$chosen" -ne "" ]]; then
   mpc move $chosen $target
 fi
1359b622