summaryrefslogtreecommitdiff
path: root/.local/bin/mpva
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-09-29 21:27:24 -0700
committerxyz <gky44px1999@gmail.com>2021-09-29 21:27:24 -0700
commite7a535dd8ad1b18289e2ab8168c7a5a73a647af1 (patch)
treee6d4038cc1c27c6da5398fd6d8a51f5652d8631b /.local/bin/mpva
parentce3cf8239255302cda4616bb482db062f8c75bfa (diff)
refactor
Diffstat (limited to '.local/bin/mpva')
-rwxr-xr-x.local/bin/mpva1
1 files changed, 0 insertions, 1 deletions
diff --git a/.local/bin/mpva b/.local/bin/mpva
index 0c775a50..7224cf46 100755
--- a/.local/bin/mpva
+++ b/.local/bin/mpva
@@ -2,7 +2,6 @@
if [ $# -eq 0 ]; then
# fzf has --read0, maybe useful
- # may further improve it by consider fzf select only one file, seems hard without bashism array
find "$XDG_MUSIC_DIR" | fzf -m --print0 | xargs -0 mpv --af= --shuffle --loop-playlist=inf --video=no
elif [ $# -eq 1 ]; then
# use --loop-file for single file, better performance maybe