diff options
Diffstat (limited to 'home/xyz/.local/bin/mpva')
-rwxr-xr-x | home/xyz/.local/bin/mpva | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/home/xyz/.local/bin/mpva b/home/xyz/.local/bin/mpva deleted file mode 100755 index a54dfa99..00000000 --- a/home/xyz/.local/bin/mpva +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# MPV Audio - -# fzf has --read0, maybe useful -# use --loop-file for single file, better performance maybe - -if [ $# -eq 0 ]; then - find "$XDG_MUSIC_DIR" | fzf -m --print0 -fi | xargs -0 sh -c ' -if [ $# -eq 1 ] && ! [ -d "$1" ]; then - mpv --af= --loop-file=inf --video=no "$1" -else - mpv --af= --shuffle --loop-playlist=inf --video=no "$@" -fi -' shell "$@" |