mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Randomize mocp playlist
This commit is contained in:
parent
eec0e6d18e
commit
35fb89b972
|
@ -37,7 +37,7 @@ mocp_add ()
|
|||
fi
|
||||
done
|
||||
|
||||
echo "$arr2" | shuf -n 100 | xargs -d "\n" mocp -a
|
||||
echo "$arr2" | shuf -n 100 | xargs -n1 -d "\n" mocp -a
|
||||
else
|
||||
if [ "$resp" = "y" ]; then
|
||||
xargs < "$selection" -0 mocp -a
|
||||
|
|
Loading…
Reference in a new issue