diff --git a/music b/music new file mode 100755 index 0000000..f0b4670 --- /dev/null +++ b/music @@ -0,0 +1,10 @@ +#!/bin/sh + +choice=`find "$HOME"/Music/ -maxdepth 1 -type d | dmenu -i -l 25 -p "Pick an Album"` + +echo Playing: $choice + +if [ ! -z "$choice" ];then + ls -1 "$choice"/*.mp3 | xargs --delimiter='\n' mocp --playit +fi +