diff options
Diffstat (limited to '.local/bin/mpvm')
-rwxr-xr-x | .local/bin/mpvm | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/.local/bin/mpvm b/.local/bin/mpvm deleted file mode 100755 index 254d5826..00000000 --- a/.local/bin/mpvm +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -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 - mpv --loop-file=inf --video=no "$1" -else - mpv --shuffle --loop-playlist=inf --video=no "$@" -fi |