diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/mpvm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/mpvm b/.local/bin/mpvm index 3dbfb194..254d5826 100755 --- a/.local/bin/mpvm +++ b/.local/bin/mpvm @@ -2,6 +2,7 @@ if [ $# -eq 0 ]; then # fzf has --read0, maybe useful + # may further improve it by consider fzf select only one file find "$XDG_MUSIC_DIR" | fzf -m --print0 | xargs -0 mpv --shuffle --loop-playlist=inf --video=no elif [ $# -eq 1 ]; then # use --loop-file for single file, better performance maybe |