added short music script wrapper because mocp blows

This commit is contained in:
shockrah 2020-10-05 12:53:07 -07:00
parent 3e67d789e0
commit 02b1d7194a

10
music Executable file
View File

@ -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