scripts

Random scripts
git clone git://git.margiolis.net/scripts.git
Log | Files | Refs | README | LICENSE

vds (276B)


      1 #!/bin/sh
      2 
      3 PLAYLIST="${HOME}/n/playlist"
      4 
      5 while getopts "p:" arg; do
      6 case "${arg}" in
      7         p)      PLAYLIST="${OPTARG}" ;;
      8         *)      echo "usage: ${0##*/} [-p playlist]" 1>&2
      9                 exit 1 ;;
     10 esac
     11 done
     12 mpv $(cat ${PLAYLIST} | dmenu -l 30 | awk '{print $1}')