diff options
author | xyz <gky44px1999@gmail.com> | 2021-08-28 19:10:25 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-08-28 19:10:25 -0700 |
commit | f31301016e3a3b92fdf1536897c1e23f0b886155 (patch) | |
tree | 961e73b9d41a69072adc1e8ee88da36e2d2b2af9 /.local | |
parent | 92518dd6c72ac82e4f1380d70dc25681ee256b7d (diff) |
comment
Diffstat (limited to '.local')
-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 |